Closed
[Documentation|文档反馈]: 当前 aclrtHostRegisterV2 接口在参数 flag 设置为 ACL_HOST_REG_PINNED 时,需明确ptr内存类型。 #388
jiaxingruAdd on  Apr 20Closed at  Apr 20
jiaxingru
jiaxingruCollaborators
Apr 20 Create

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

Document Link(文档链接)

https://gitcode.com/m0_60337577/runtime_commercial9/blob/master/docs/03_api_ref/11-02_主机内存管理.md

Issues Section(问题文档片段)

  • ACL_HOST_REG_PINNED:将Host内存注册为锁页内存。

Existing Issues(存在的问题)

当前 aclrtHostRegisterV2 接口在参数 flag 设置为 ACL_HOST_REG_PINNED 时,需要明确ptr传入的内存类型为用户申请的非锁页内存。

likedislike
jiaxingrujiaxingruCollaborators
Apr 20 Added label: documentation
jiaxingrujiaxingruCollaborators
Apr 20 Assign m0_60337577 as responsible person
CANN-robotCANN-robotCollaborators
Apr 20 Close issue
CANN-robotCANN-robotCollaborators
Apr 20 Added label: resolved