Cargo Features

[dependencies]
cudarc = { version = "0.16.0", default-features = false, features = ["no-std", "std", "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", "cuda-12080", "dynamic-loading", "static-linking", "nvrtc", "driver", "cublas", "cublaslt", "runtime", "cudnn", "curand", "nccl", "cusparse", "cusolver", "f16"] }
default = cublas, cublaslt, curand, driver, dynamic-loading, nvrtc, runtime, std

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

no-std

Enables std of no-std-compat

std default
cuda-version-from-build-system
cuda-11040

Affects sys::cublasLtMatmulDescAttributes_t, sys::cublasLtMatmulDescOpaque_t, sys::curandOrdering, sys::cusolverAlgMode_t, sys::cusolverDnFunction_t, sys::cusparseSideMode_t, sys::cusparseDenseToSparse_analysis, sys::cusparseDenseToSparse_convert, sys::cusparseSparseToDense, sys::CUDA_VERSION, sys::CUarray_format_enum, sys::CUDART_VERSION, sys::cudaChannelFormatKind, sys::cudaDeviceAttr, sys::cublasLtEpilogue_t, sys::CUdevice_attribute_enum

cuda-11050

Affects sys::CUDA_VERSION, sys::CUDART_VERSION, sys::cudaDeviceAttr, sys::cublasLtEpilogue_t, sys::CUdevice_attribute_enum, sys::CUgraphExecUpdateResult_enum, sys::cudaGraphExecUpdateResult, sys::cudaGraphMemAttributeType, sys::cudaTextureDesc, sys::cublasLtMatmulDescAttributes_t, sys::cublasLtMatmulDescOpaque_t, sys::CUgraphDebugDot_flags_enum, sys::CUgraphInstantiate_flags_enum, sys::CUgraphNodeType_enum, sys::CUjit_option_enum, sys::CUjit_target_enum

cuda-11060

Affects sys::CUDA_VERSION, sys::CUdevice_attribute_enum, sys::CUDART_VERSION, sys::cudaDeviceAttr, sys::cudaTextureDesc, sys::cublasLtMatmulDescAttributes_t, sys::cublasLtMatmulDescOpaque_t, sys::CUgraphDebugDot_flags_enum, sys::CUgraphInstantiate_flags_enum, sys::CUgraphNodeType_enum, sys::CUjit_option_enum, sys::CUjit_target_enum, sys::CUkernelNodeAttrID_enum, sys::CUpointer_attribute_enum, sys::CUstreamBatchMemOpType_enum, sys::cudaError_enum

cuda-11070

Affects sys::CUDA_VERSION, sys::CUdevice_attribute_enum, sys::CUjit_target_enum, sys::CUkernelNodeAttrID_enum, sys::cudaError_enum, sys::CUDART_VERSION, sys::cudaKernelNodeAttrID, sys::CUgraphDebugDot_flags_enum, sys::CUgraphInstantiate_flags_enum, sys::CUjit_option_enum, sys::cudaDeviceAttr, sys::cudaGraphInstantiateFlags, sys::cudaTextureDesc, sys::cublasLtMatmulDescAttributes_t, sys::cublasLtMatmulDescOpaque_t, sys::cudaDataType_t

cuda-11080

Affects sys::cublasLtMatmulStages_t, sys::CUDA_VERSION, sys::CUdevice_attribute_enum, sys::CUjit_target_enum, sys::CUlaunchAttributeID_enum, sys::cudaError_enum, sys::CUDART_VERSION, sys::cudaDeviceAttr, sys::cudaError, sys::cudaLaunchAttributeID, sys::cudaTextureDesc, sys::cudaTextureDesc_v2, sys::cudaCreateTextureObject_v2, sys::cudaGetTextureObjectTextureDesc_v2, sys::cublasLtMatmulTile_t, sys::CUgraphDebugDot_flags_enum

cuda-12000

Affects sys::cusparseFormat_t, sys::cusparseSpMVAlg_t, sys::CUDA_VERSION, sys::CUdevice_attribute_enum, sys::cudaError_enum, sys::CUDART_VERSION, sys::cudaDeviceAttr, sys::cudaError, sys::cudaDeviceProp, sys::cublasLtMatmulAlgoCapAttributes_t, sys::cublasLtMatmulTile_t, sys::cublasLtMatmulDescAttributes_t, sys::cublasLtMatmulDescOpaque_t, sys::CUgraphDebugDot_flags_enum, sys::CUjit_option_enum, sys::CUlaunchAttributeID_enum

cuda-12010

Affects sys::cusparseBsrSetStridedBatch, sys::cusparseCreateBsr, sys::CUDA_VERSION, sys::CUdevice_attribute_enum, sys::CUDART_VERSION, sys::cudaDeviceAttr, sys::cublasLtMatmulAlgoCapAttributes_t, sys::cudaError_enum, sys::cudaError, sys::cudaDeviceProp, sys::cublasLtMatmulDescAttributes_t, sys::cublasLtMatmulDescOpaque_t, sys::CUgraphDebugDot_flags_enum, sys::CUjit_option_enum, sys::CUlaunchAttributeID_enum, sys::cudaLaunchAttributeID

cuda-12020

Affects sys::CUDA_VERSION, sys::CUdevice_attribute_enum, sys::CUDART_VERSION, sys::cudaDeviceAttr, sys::cudaError_enum, sys::cudaError, sys::cudaDeviceProp, sys::CUgraphDebugDot_flags_enum, sys::CUjit_option_enum, sys::CUlaunchAttributeID_enum, sys::cudaLaunchAttributeID, result::mem_advise, result::mem_prefetch_async, sys::CUcoredumpSettings_enum, sys::CUmemPoolProps_st, result::comm_split, sys::cudaMemPoolProps, sys::cublasLtMatmulDescAttributes_t, sys::cublasLtMatmulTile_t

cuda-12030

Affects sys::CUDA_VERSION, sys::CUjit_option_enum, sys::CUlaunchAttributeID_enum, sys::cudaError_enum, sys::CUDART_VERSION, sys::cudaLaunchAttributeID, sys::CUdevice_attribute_enum, sys::cudaDeviceAttr, sys::cudaError, result::mem_advise, result::mem_prefetch_async, sys::CUcoredumpSettings_enum, sys::CUgraphConditionalNodeType_enum, sys::CUmemPoolProps_st, result::comm_split, sys::cudaGraphConditionalNodeType, sys::cudaDeviceProp, sys::cudaLaunchAttributeValue__bindgen_ty_3, sys::cudaMemPoolProps

cuda-12040

Affects sys::cusolverDnXlarft, sys::cusolverDnXlarft_bufferSize, sys::CUDA_VERSION, sys::CUlaunchAttributeID_enum, sys::CUDART_VERSION, sys::cudaLaunchAttributeID, sys::CUdevice_attribute_enum, sys::cudaDeviceAttr, sys::cudaError_enum, sys::CUlaunchAttributeValue_union__bindgen_ty_4, sys::cudaError, sys::cudaLaunchAttributeValue__bindgen_ty_4, sys::cublasDgemmGroupedBatched, sys::cublasDgemmGroupedBatched_64, sys::cublasSgemmGroupedBatched, sys::cublasSgemmGroupedBatched_64, result::mem_advise, result::mem_prefetch_async, result::comm_split

cuda-12050

Affects sys::CUDA_VERSION, sys::CUCoredumpGenerationFlags, sys::CUDART_VERSION, sys::CUarray_format_enum, sys::CUdevice_attribute_enum, sys::CUlaunchAttributeID_enum, sys::cudaDeviceAttr, sys::cudaLaunchAttributeID, sys::cublasGemmGroupedBatchedEx, sys::cublasGemmGroupedBatchedEx_64, sys::cusolverDnXlarft, sys::cusolverDnXlarft_bufferSize, sys::cusparseSpMMAlg_t, sys::CUDA_ARRAY3D_VIDEO_ENCODE_DECODE, sys::CUctxCigParam, sys::CUctxCreateParams, result::mem_advise, result::mem_prefetch_async, result::comm_split

cuda-12060

Affects sys::cublasLtMatmulTile_t, sys::CUDA_VERSION, sys::CUDART_VERSION, sys::cudaError, sys::cublasLtMatmulSearch_t, sys::cusolverDnXgeev, sys::cusolverDnXgeev_bufferSize, sys::cusolverDnXsyevBatched, sys::cusolverDnXsyevBatched_bufferSize, sys::CUCoredumpGenerationFlags, sys::CUarray_format_enum, sys::CUdevice_attribute_enum, sys::CUlaunchAttributeID_enum, sys::CUmemPoolProps_st, sys::cudaDeviceAttr, sys::cudaLaunchAttributeID

cuda-12080

Affects sys::cudaDataType_t, sys::cublasLtMatmulDescAttributes_t, sys::cublasLtMatmulMatrixScale_t, sys::cublasLtMatmulStages_t, sys::cublasLtMatmulTile_t, sys::cudaDataType_t, sys::cudaDataType_t, sys::cudaDataType_t, sys::CUDA_VERSION, sys::CU_MEM_CREATE_USAGE_HW_DECOMPRESS, sys::CU_MEM_POOL_CREATE_USAGE_HW_DECOMPRESS, sys::CUDA_MEMCPY3D_BATCH_OP, sys::CUDA_MEMCPY3D_BATCH_OP_v1, sys::CUcheckpointCheckpointArgs, sys::CUcheckpointLockArgs, sys::CUcheckpointRestoreArgs

dynamic-loading default
dynamic-linking static-linking
nvrtc default driver

Affects cudarc::nvrtc

driver default cublas cublaslt cudnn? curand cusolver? cusparse? 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

cusparse = driver

Affects cudarc::cusparse

cusolver = driver

Affects cudarc::cusolver

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?