aclrtPhysicalMemProp
typedef struct aclrtPhysicalMemProp {
aclrtMemHandleType handleType;
aclrtMemAllocationType allocationType;
aclrtMemAttr memAttr;
aclrtMemLocation location;
uint64_t reserve;
} aclrtPhysicalMemProp;
成员名称 |
描述 |
|---|---|
handleType |
handle类型。 当前仅支持ACL_MEM_HANDLE_TYPE_NONE 。 |
allocationType |
内存分配类型。 当前仅支持ACL_MEM_ALLOCATION_TYPE_PINNED,表示锁页内存。 |
memAttr |
内存属性。 |
location |
内存所在位置。 当前仅支持ACL_MEM_LOCATION_TYPE_DEVICE,表示Device上的内存。 |
reserve |
预留。 |
父主题: 数据类型及其操作接口