aclrtHostRegisterType

1
2
3
4
5
typedef enum {
    ACL_HOST_REGISTER_MAPPED = 0,
    ACL_HOST_REGISTER_IOMEMORY = 0x04,
    ACL_HOST_REGISTER_READONLY = 0x08
}aclrtHostRegisterType;

Enumeration

Description

ACL_HOST_REGISTER_MAPPED

Maps and registers the host memory as accessible to the device, including read and write.

ACL_HOST_REGISTER_IOMEMORY

Maps and registers the I/O space (registers and caches) of a third-party PCIe device on the host as accessible to the device, including read and write. This reserved option is not supported currently.

ACL_HOST_REGISTER_READONLY

Maps and registers the host memory as read-only to the device. This reserved option is not supported currently.

For Atlas A3 training products/Atlas A3 inference products, if the ACL_HOST_REGISTER_IOMEMORY option is set, only the x86 architecture is supported. The Arm architecture is not supported.