Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
x |
|
x |
|
x |
Obtains the universally unique identifier (UUID) of a device.
1 | aclError aclrtDeviceGetUuid(int32_t deviceId, aclrtUuid *uuid) |
1 | uuid, ret = acl.rt.device_get_uuid(device_id) |
Parameter |
Description |
|---|---|
device_id |
Int, NPU device ID. |
Return Value |
Description |
|---|---|
uuid |
Attribute value, which is the UUID of a device. For details, see aclrtUuid. |
ret |
Int, 0 on success; else failure. |