Skip to content

CUDA:EnvironmentVariables

Environment variables related to the Multi-Process Service are documented in the Multi-Process Service section of the GPU Deployment and Management guide.

Device Enumeration and Properties

CUDA_​VISIBLE_​DEVICES
CUDA_​MANAGED_​FORCE_​DEVICE_​ALLOC
CUDA_​DEVICE_​ORDER

Compilation

CUDA_​CACHE_​DISABLE
CUDA_​CACHE_​PATH
CUDA_​CACHE_​MAXSIZE
CUDA_​FORCE_​PTX_​JIT

Execution

CUDA_​LAUNCH_​BLOCKING
CUDA_​DEVICE_​MAX_​CONNECTIONS
CUDA_​AUTO_​BOOST
CUDA_​ENABLE_​CRC_​CHECK

cuda-gdb (on Linux platform)

CUDA_​DEVICE_​WAITS_​ON_​EXCEPTION

MPS service (on Linux platform)

CUDA_DEVICE_DEFAULT_PERSISTING_L2_CACHE_PERCENTAGE_LIMIT

See also

Favorite site