|
Returns in *count the number of devices with compute capability greater or equal to 1.0 that are available for execution. If there is no such device, cudaGetDeviceCount() returns 1 and device 0 only supports device emulation mode. Since this device will be able to emulate all hardware features, this device will report major and minor compute capability versions of 9999.
- Parameters:
-
| count | - Returns the number of devices with compute capability greater or equal to 1.0 |
- Returns:
- cudaSuccess
- Note:
- Note that this function may also return error codes from previous, asynchronous launches.
- See also:
- cudaGetDevice, cudaSetDevice, cudaGetDeviceProperties, cudaChooseDevice
|