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. :param device: The identifier of the target device. :type device: intptr_t :returns: - int: Reference in which to return the major CUDA compute capability. - int: Reference in which to return the minor CUDA compute capability. :rtype: A 2-tuple containing .. seealso:: `nvmlDeviceGetCudaComputeCapability`