aclrtPhysicalMemProp
Member |
Description |
|---|---|
handleType |
Handle type. Currently, only ACL_MEM_HANDLE_TYPE_NONE is supported. |
allocationType |
Memory allocation type. Currently, only ACL_MEM_ALLOCATION_TYPE_PINNED is supported. |
memAttr |
Memory attributes. For details, see aclrtMemAttr. |
location |
Location of the memory. For details, see aclrtMemLocation. Refer to the following example. id indicates the device ID or NUMA ID, and type indicates the type of the memory location. location = {
'id' : 0,
'type' : ACL_MEM_LOCATION_TYPE_DEVICE
}
|
reserve |
Reserved. |
Parent topic: Data Types and Operation APIs