cuda
#
Detect CUDA version.
Functions#
Attempt to detect the version of CUDA present in the operating system. |
|
A cached version of the cuda detection system. |
|
Attempt to detect the version of CUDA present in the operating system in a |
- cuda_version()#
Attempt to detect the version of CUDA present in the operating system.
On Windows and Linux, the CUDA library is installed by the NVIDIA driver package, and is typically found in the standard library path, rather than with the CUDA SDK (which is optional for running CUDA apps).
On macOS, the CUDA library is only installed with the CUDA SDK, and might not be in the library path.
Returns: version string (e.g., '9.2') or None if CUDA is not found.
- cached_cuda_version()#
A cached version of the cuda detection system.
- conda_virtual_packages()#
- _cuda_driver_version_detector_target(queue)#
Attempt to detect the version of CUDA present in the operating system in a subprocess.
On Windows and Linux, the CUDA library is installed by the NVIDIA driver package, and is typically found in the standard library path, rather than with the CUDA SDK (which is optional for running CUDA apps).
On macOS, the CUDA library is only installed with the CUDA SDK, and might not be in the library path.
- Returns: version string (e.g., '9.2') or None if CUDA is not found.
The result is put in the queue rather than a return value.