Cargo Features

[dependencies]
cudarc = { version = "0.10.0", default-features = false, features = ["no-std", "std", "nvrtc", "driver", "cublas", "cublaslt", "cudnn", "curand", "nccl", "f16", "static-linking"] }
default = cublas, curand, driver, nvrtc, 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
nvrtc default driver

Affects cudarc::nvrtc

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

Affects cudarc::driver

cublas default = driver

Affects cudarc::cublas

cublaslt = driver

Affects cudarc::cublaslt

cudnn = driver

Affects cudarc::cudnn

curand default = driver

Affects cudarc::curand

nccl = driver

Affects cudarc::nccl

f16

Enables half

Affects cublas::half, result::hgemm, result::hgemm_strided_batched

ci-check static-linking

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

no-std-compat no-std?