aclrtDeviceGetUuid
产品支持情况
产品 |
是否支持 |
|---|---|
Atlas 350 加速卡 |
√ |
√ |
|
√ |
|
☓ |
|
☓ |
|
☓ |
功能说明
获取Device的唯一标识UUID(Universally Unique Identifier)。
函数原型
1 | aclError aclrtDeviceGetUuid(int32_t deviceId, aclrtUuid *uuid) |
参数说明
参数名 |
输入/输出 |
说明 |
|---|---|---|
deviceId |
输入 |
Device ID,与aclrtSetDevice接口中的Device ID保持一致。 |
uuid |
输出 |
Device的唯一标识。类型定义请参见aclrtUuid。 |
返回值说明
返回0表示成功,返回其他值表示失败,请参见aclError。
父主题: Device管理