-
-
Notifications
You must be signed in to change notification settings - Fork 81
/
Cargo.toml
61 lines (51 loc) · 1.38 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[package]
name = "cudarc"
version = "0.12.1"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Safe wrappers around CUDA apis"
homepage = "https://github.com/coreylowman/cudarc"
documentation = "https://docs.rs/cudarc"
repository = "https://github.com/coreylowman/cudarc"
readme = "README.md"
keywords = [
"cuda",
"nvidia",
"gpu",
"nvrtc",
"cublas",
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package.metadata.docs.rs]
features = ["cuda-12060", "f16", "cudnn"]
[features]
default = ["std", "cublas", "cublaslt", "curand", "driver", "nvrtc"]
cuda-version-from-build-system = []
cuda-11040 = []
cuda-11050 = []
cuda-11060 = []
cuda-11070 = []
cuda-11080 = []
cuda-12000 = []
cuda-12010 = []
cuda-12020 = []
cuda-12030 = []
cuda-12040 = []
cuda-12050 = []
cuda-12060 = []
dynamic-linking = []
nvrtc = []
driver = ["nvrtc"]
cublas = ["driver"]
cublaslt = ["driver"]
cudnn = ["driver"]
curand = ["driver"]
nccl = ["driver"]
std = []
no-std = ["no-std-compat/std", "dep:spin"]
f16 = ["dep:half"]
[dependencies]
spin = { version = "0.9.8", optional = true, features = ["rwlock"], default-features = false }
no-std-compat = { version = "0.4.1", optional = true, features = [ "alloc" ] }
half = { version = "2.4.1", optional = true, default-features = false, features = ["num-traits", "rand_distr"] }
libloading = "0.8.5"