aclrtDeviceGetUuid
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
x |
|
x |
|
x |
Function
Obtains the universally unique identifier (UUID) of a device.
Prototype
1 | aclError aclrtDeviceGetUuid(int32_t deviceId, aclrtUuid *uuid) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
deviceId |
Input |
Device ID, which must be the same as that in the aclrtSetDevice API. |
uuid |
Output |
Unique ID of a device. For the type definition, see aclrtUuid. |
Returns
0 on success; otherwise, failure. For details, see aclError.
Parent topic: Device Management