aclrtGetDeviceCount
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
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
0 on success; else, failure. For details, see aclError.
Parent topic: Device Management