aclrtMemManagedLocation

1
2
3
4
typedef struct {
    aclrtMemManagedLocationType type;  // Memory location
    int id;                            // Device ID or Non-Uniform Memory Access (NUMA) ID
} aclrtMemManagedLocation;

When type is ACL_MEM_LOCATIONTYPE_INVALID, ACL_MEM_LOCATIONTYPE_HOST, or ACL_MEM_LOCATIONTYPE_HOST_NUMA_CURRENT, id is invalid.