aclrtGetDeviceCount
Description
Obtains the number of available devices.
Prototype
aclError aclrtGetDeviceCount(uint32_t *count)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
count |
Output |
Pointer to the number of devices. |
Returns
The value 0 indicates success, and other values indicate failure. For details, see aclError.
Parent topic: Device Management