aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-01 16:18:39 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-18 11:35:42 +0300
commit74130b5e1d8f54cd3d5961788bced25618bf884f (patch)
tree930c24b2f64320840a4f1544bd042ec631e3b4eb /gnu
parent4e65f4b1479e67dfe8e4f0f1b2d371524a0348cc (diff)
downloadguix-74130b5e1d8f54cd3d5961788bced25618bf884f.tar.gz
guix-74130b5e1d8f54cd3d5961788bced25618bf884f.zip
gnu: Add rust-cuda-std-0.2.
* gnu/packages/crates-io.scm (rust-cuda-std-0.2): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 18627b548d..6a90b4b79a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17545,6 +17545,31 @@ re-exported cipher crate.")
use with bindgen.")
(license (list license:expat license:asl2.0))))
+(define-public rust-cuda-std-0.2
+ (package
+ (name "rust-cuda-std")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cuda-std" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "174237dj152dvndvykcn17nz2d0kdzsyyxnb6fsdz3i7xa8lfcgn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Test suite can't find attribute 'kernel'.
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cuda-std-macros" ,rust-cuda-std-macros-0.2)
+ ("rust-half" ,rust-half-1)
+ ("rust-paste" ,rust-paste-1)
+ ("rust-vek" ,rust-vek-0.15))))
+ (home-page "https://github.com/Rust-GPU/Rust-CUDA")
+ (synopsis "Standard library for CUDA with rustc_codegen_nvvm")
+ (description "Standard library for CUDA with rustc_codegen_nvvm.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-cuda-std-macros-0.2
(package
(name "rust-cuda-std-macros")