aclrtDeviceGetUuid
Applicable Products
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
☓ |
|
☓ |
|
☓ |
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 |
Device UUID. For details about the type definition, see aclrtUuid. |
Returns
0 on success; otherwise, failure. For details, see aclError.
Parent topic: Device Management