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

Sets the memory location. Set this parameter as follows. id indicates the device ID, and type indicates the type of the memory location.

location = {
             'id' : 0, 
             'type' : ACL_MEM_LOCATION_TYPE_DEVICE
            }

reserve

Reserved.