产品
是否支持
Ascend 950PR/Ascend 950DT
√
Atlas A3 训练系列产品/Atlas A3 推理系列产品
Atlas A2 训练系列产品/Atlas A2 推理系列产品
Atlas 200I/500 A2 推理产品
Atlas 推理系列产品
Atlas 训练系列产品
获取指定Event的ID。
1
aclError aclrtGetEventId(aclrtEvent event, uint32_t *eventId)
参数名
输入/输出
说明
event
输入
指定要查询的Event。类型定义请参见aclrtEvent。
eventId
输出
Event ID。
返回0表示成功,返回其他值表示失败,请参见aclError。