cuda.bindings.nvml.device_get_cuda_compute_capability#

cuda.bindings.nvml.device_get_cuda_compute_capability(intptr_t device) tuple#

Retrieves the CUDA compute capability of the device.

Parameters:

device (intptr_t) – The identifier of the target device.

Returns:

  • int: Reference in which to return the major CUDA compute capability.

  • int: Reference in which to return the minor CUDA compute capability.

Return type:

A 2-tuple containing

See also

nvmlDeviceGetCudaComputeCapability