cuda.bindings._v2.driver.device_get_count#
- cuda.bindings._v2.driver.device_get_count() int#
Returns the number of compute-capable devices.
Returns in
*countthe number of devices with compute capability greater than or equal to 2.0 that are available for execution. If there is no such device,device_get_count()returns 0.- Returns:
Returned number of compute-capable devices.
- Return type:
See also
cuDeviceGetCount