aclrtMemLocationType

1
2
3
4
5
6
7
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_MANAGED,       // Unified virtual memory (UVM)
    ACL_MEM_LOCATION_TYPE_HOST_NUMA = 4,  // Host memory allocated by the aclrtMallocPhysical API based on the NUMA ID
} aclrtMemLocationType;

The ACL_MEM_LOCATION_TYPE_MANAGED option is only supported by the Atlas A2 training products/Atlas A2 inference products.