aclrtPhysicalMemProp
1 2 3 4 5 6 7 | typedef struct aclrtPhysicalMemProp { aclrtMemHandleType handleType; aclrtMemAllocationType allocationType; aclrtMemAttr memAttr; aclrtMemLocation location; uint64_t reserve; } aclrtPhysicalMemProp; |
Member |
Description |
|---|---|
handleType |
Handle type. For details about the type definition, see aclrtMemHandleType. Currently, only ACL_MEM_HANDLE_TYPE_NONE is supported. |
allocationType |
Type of memory allocation. For details about the type definition, see aclrtMemAllocationType. Currently, only ACL_MEM_ALLOCATION_TYPE_PINNED is supported, indicating page-locked memory. |
memAttr |
Memory attribute. For details about the type definition, see aclrtMemAttr. |
location |
Memory location. For details about the type definition, see aclrtMemLocation. When 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