EventOperation
定义
struct EventParam { enum OperatorType : int { UNDEFINED = 0, RECORD, WAIT }; aclrtEvent event; OperatorType operatorType = UNDEFINED; uint8_t rsv[16] = {0}; };
参数列表
成员名称 |
类型 |
默认值 |
描述 |
---|---|---|---|
OperatorType |
int |
UNDEFINED |
OperatorType支持的值。
|
event |
aclrtEvent |
- |
需要RECORD或者WAIT的Event。 |
operatorType |
OperatorType |
UNDEFINED |
OperatorType,支持UNDEFINED、RECORD和WAIT。 |
rsv[16] |
uint8_t |
{0} |
预留参数。 |
父主题: 定义