aclrtMemLocationType

1
2
3
4
5
6
typedef enum aclrtMemLocationType {
    ACL_MEM_LOCATION_TYPE_HOST = 0,      // Host memory allocated by an acl API (for example, aclrtMallocHost)
    ACL_MEM_LOCATION_TYPE_DEVICE,        // Device memory allocated by an acl API (for example, aclrtMalloc)
    ACL_MEM_LOCATION_TYPE_UNREGISTERED,  // Memory that is not allocated by an acl API
    ACL_MEM_LOCATION_TYPE_HOST_NUMA = 4,  // Host memory allocated by the aclrtMallocPhysical API based on the NUMA ID
} aclrtMemLocationType;