aclrtBinaryLoadOptionValue
typedef union aclrtBinaryLoadOptionValue {
uint32_t isLazyLoad;
uint32_t magic;
int32_t cpuKernelMode;
uint32_t rsv[4];
} aclrtBinaryLoadOptionValue;
Member |
Description |
|---|---|
isLazyLoad |
Whether to load the operator to the device after the operator binary is parsed and the operator is registered. The options are as follows:
|
magic |
Magic number that identifies the operator compute unit. The options can be either of the following macros:
The macros are defined as follows: #define ACL_RT_BINARY_MAGIC_ELF_AICORE 0x43554245U #define ACL_RT_BINARY_MAGIC_ELF_VECTOR_CORE 0x41415246U #define ACL_RT_BINARY_MAGIC_ELF_CUBE_CORE 0x41494343U For details about the definition and description of the Core, see aclrtDevAttr. |
cpuKernelMode |
AI CPU operator registration mode. The options are as follows:
|
rsv |
Reserved. |
Parent topic: Data Types and Operation APIs