函数:query_event
产品支持情况
产品 |
是否支持 |
---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
函数原型
- C函数原型
1
aclError aclrtQueryEvent(aclrtEvent event, aclrtEventStatus *status)
- python函数
1
status, ret = acl.rt.query_event(event)
参数说明
参数名 |
说明 |
---|---|
event |
int,指定待查询的Event对象指针地址。 |
返回值说明
返回值 |
说明 |
---|---|
status |
int,表示的是Event状态的指针地址。
|
ret |
int,错误码,返回0表示成功,返回其它值表示失败。 |
父主题: Event管理