[dependencies.float4]
optional = true
version = "0.1.0"
[dependencies.float8]
optional = true
version = "0.3.0"
[dependencies.half]
default-features = false
features = ["num-traits", "rand_distr"]
optional = true
version = "2"
[dependencies.libloading]
version = "0.8"
[dependencies.no-std-compat]
features = ["alloc"]
optional = true
version = "0.4.1"
[[example]]
name = "01-allocate"
path = "examples/01-allocate.rs"
[[example]]
name = "02-copy"
path = "examples/02-copy.rs"
[[example]]
name = "03-launch-kernel"
path = "examples/03-launch-kernel.rs"
[[example]]
name = "04-streams"
path = "examples/04-streams.rs"
[[example]]
name = "05-device-repr"
path = "examples/05-device-repr.rs"
[[example]]
name = "06-threading"
path = "examples/06-threading.rs"
[[example]]
name = "cufile-copy"
path = "examples/cufile-copy.rs"
[[example]]
name = "matmul-kernel"
path = "examples/matmul-kernel.rs"
[[example]]
name = "nvrtc-compile"
path = "examples/nvrtc-compile.rs"
[features]
cublas = ["driver"]
cublaslt = ["driver"]
cuda-11040 = []
cuda-11050 = []
cuda-11060 = []
cuda-11070 = []
cuda-11080 = []
cuda-12000 = []
cuda-12010 = []
cuda-12020 = []
cuda-12030 = []
cuda-12040 = []
cuda-12050 = []
cuda-12060 = []
cuda-12080 = []
cuda-12090 = []
cuda-13000 = []
cuda-version-from-build-system = []
cudnn = ["driver"]
cufile = ["driver"]
curand = ["driver"]
cusolver = ["driver", "cublas", "cublaslt", "cusparse"]
cusolvermg = ["cusolver"]
cusparse = ["driver"]
default = ["std", "cublas", "cublaslt", "curand", "driver", "runtime", "nvrtc", "dynamic-loading"]
driver = ["nvrtc"]
dynamic-linking = []
dynamic-loading = []
f16 = ["dep:half"]
f4 = ["dep:float4"]
f8 = ["dep:float8"]
nccl = ["driver"]
no-std = ["no-std-compat/std"]
nvrtc = []
runtime = ["driver"]
static-linking = []
std = []
[lib]
name = "cudarc"
path = "src/lib.rs"
[package]
authors = ["Corey Lowman <clowman1993@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["api-bindings", "hardware-support", "memory-management", "no-std", "science"]
description = "Safe and minimal CUDA bindings"
documentation = "https://docs.rs/cudarc"
edition = "2021"
homepage = "https://github.com/coreylowman/cudarc"
keywords = ["cuda", "nvidia", "gpu", "cudnn", "cublas"]
license = "MIT OR Apache-2.0"
name = "cudarc"
readme = "README.md"
repository = "https://github.com/coreylowman/cudarc"
version = "0.17.3"
[package.metadata.docs.rs]
features = ["cuda-12090", "f16", "cudnn", "nccl", "cusparse", "cusolver", "cusolvermg", "cufile"]