aclrtGetDeviceCount
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Description
Obtains the number of available devices.
Prototype
1 | aclError aclrtGetDeviceCount(uint32_t *count) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
count |
Output |
Pointer to the number of devices. |
Returns
0 on success; otherwise, failure. For details, see aclError.
Parent topic: Device Management