aclrtHostUnregister
Applicable Products
Product |
Supported |
|---|---|
√ |
|
☓ |
|
√ |
|
√ |
|
☓ |
|
☓ |
|
√ |
Function
Unregisters host memory.
This API is used in pair with aclrtHostRegister or aclrtHostRegisterV2.
Prototype
1 | aclError aclrtHostUnregister(void *ptr) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
ptr |
Input |
Memory address on the host. |
Returns
0 on success; otherwise, failure. For details, see aclError.
Parent topic: Host Memory Management