warp.get_cuda_driver_version#

warp.get_cuda_driver_version()[source]#

Return the CUDA driver version installed on the system.

Returns:

A tuple of (major, minor) version numbers (e.g., (12, 4) for CUDA 12.4), or None if the CUDA driver is not available or not initialized.

Return type:

tuple[int, int] | None