# aclrtPhysicalMemProp

```
typedef struct aclrtPhysicalMemProp {
    aclrtMemHandleType handleType;
    aclrtMemAllocationType allocationType;
    aclrtMemAttr memAttr;
    aclrtMemLocation location;
    uint64_t reserve; 
} aclrtPhysicalMemProp;
```

| 成员名称 | 描述 |
| --- | --- |
| handleType | handle类型。类型定义请参见aclrtMemHandleType。 当前仅支持ACL\_MEM\_HANDLE\_TYPE\_NONE 。 |
| allocationType | 内存分配类型。类型定义请参见aclrtMemAllocationType。 当前仅支持ACL\_MEM\_ALLOCATION\_TYPE\_PINNED，表示锁页内存。 |
| memAttr | 内存属性。类型定义请参见aclrtMemAttr。 |
| location | 内存所在位置。类型定义请参见aclrtMemLocation。 当type为ACL\_MEM\_LOCATION\_TYPE\_HOST时，id无效，固定设置为0即可。 |
| reserve | 预留。 |
