Cargo Features

[dependencies]
cudarc = { version = "0.12.2", default-features = false, features = ["no-std", "std", "cuda-11040", "cuda-11080", "cuda-12010", "cuda-12050", "dynamic-linking", "nvrtc", "driver", "cublas", "cublaslt", "runtime", "cudnn", "curand", "nccl", "f16"] }
default = cublas, cublaslt, curand, driver, nvrtc, runtime, std

These default features are set whenever cudarc is added without default-features = false somewhere in the dependency tree.

no-std

Enables spin, std of no-std-compat

std default
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

Affects result::mem_advise, result::mem_prefetch_async, result::comm_split

cuda-12060 dynamic-linking
nvrtc default driver

Affects cudarc::nvrtc

driver default cublas cublaslt cudnn? curand nccl? runtime = nvrtc

Affects cudarc::driver

cublas default = driver

Affects cudarc::cublas

cublaslt default = driver

Affects cudarc::cublaslt

runtime default = driver

Affects cudarc::runtime

cudnn = driver

Affects cudarc::cudnn

curand default = driver

Affects cudarc::curand

nccl = driver

Affects cudarc::nccl

f16

Enables half

Affects result::hgemm, result::hgemm_strided_batched

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

no-std-compat no-std?