aclrtStreamAttrValue
typedef union {
uint64_t failureMode;
uint32_t overflowSwitch;
uint32_t userCustomTag;
uint32_t cacheOpInfoSwitch;
uint32_t reserve[4];
} aclrtStreamAttrValue;
Member |
Description |
|---|---|
failureMode |
When setting the ACL_STREAM_ATTR_FAILURE_MODE (indicating the stream task scheduling mode) attribute in aclrtStreamAttr, the options are as follows:
|
overflowSwitch |
When setting the ACL_STREAM_ATTR_FLOAT_OVERFLOW_CHECK (indicating the overflow detection switch) attribute in aclrtStreamAttr, the options are as follows:
|
userCustomTag |
When setting the ACL_STREAM_ATTR_USER_CUSTOM_TAG (indicating the overflow detection group tag) attribute in aclrtStreamAttr, the attribute value ranges from 0 to the maximum value of the uint32_t type. |
cacheOpInfoSwitch |
When setting the ACL_STREAM_ATTR_CACHE_OP_INFO (indicating the operator information caching switch) attribute in aclrtStreamAttr, the options are as follows:
|
reserve |
Reserved. |