cuda.bindings.nvml.device_get_count_v2#

cuda.bindings.nvml.device_get_count_v2() unsigned int#

Retrieves the number of compute devices in the system. A compute device is a single GPU.

Returns:

Reference in which to return the number of accessible devices.

Return type:

unsigned int

See also

nvmlDeviceGetCount_v2