aclrtMallocAttrType
typedef enum {
ACL_RT_MEM_ATTR_RSV = 0, // Reserved
ACL_RT_MEM_ATTR_MODULE_ID, // Module ID
ACL_RT_MEM_ATTR_DEVICE_ID, // Device ID
ACL_RT_MEM_ATTR_VA_FLAG, // Whether to use the virtual address (VA) consistency function when the host memory is allocated by using the aclrtMallocHostWithCfg call
} aclrtMallocAttrType;
Parent topic: Data Types and Operation APIs