# aclrtMemPoolProps

```
typedef struct {
    aclrtMemAllocationType allocType;
    aclrtMemHandleType handleType;
    aclrtMemLocation location;
    size_t maxSize;
    unsigned char reserved[32];
} aclrtMemPoolProps;
```

| 成员名称 | 描述 |
| --- | --- |
| allocType | 内存分配类型。类型定义请参见aclrtMemAllocationType。 当前仅支持ACL\_MEM\_ALLOCATION\_TYPE\_PINNED，表示锁页内存。 |
| handleType | handle类型。类型定义请参见aclrtMemHandleType。 |
| location | 内存所在位置。类型定义请参见aclrtMemLocation。 type当前仅支持设置为ACL\_MEM\_LOCATION\_TYPE\_DEVICE。 |
| maxSize | 内存池大小，单位Byte。 |
| reserved | 保留字段，当前必须为全0字符串。 |
