aclrtPhysicalMemProp
typedef struct aclrtPhysicalMemProp {
aclrtMemHandleType handleType;
aclrtMemAllocationType allocationType;
aclrtMemAttr memAttr;
aclrtMemLocation location;
uint64_t reserve;
} aclrtPhysicalMemProp;
Member |
Description |
|---|---|
handleType |
Handle type. Currently, only ACL_MEM_HANDLE_TYPE_NONE is supported. |
allocationType |
Type of memory allocation. Currently, only ACL_MEM_ALLOCATION_TYPE_PINNED is supported, indicating page-locked memory. |
memAttr |
Memory attribute. |
location |
Memory location. If type is set to ACL_MEM_LOCATION_TYPE_HOST, id is invalid and can be fixed at 0. |
reserve |
Reserved. |
Parent topic: Data Types and Operation APIs