Function: host_unregister
Applicable Products
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
x |
|
x |
Description
Unregisters the host memory. This API is used in pair with acl.rt.host_register.
Prototype
- C Prototype
1aclError aclrtHostUnregister(void *ptr)
- Python Function
1ret = acl.rt.host_unregister(ptr)
Parameters
Parameter |
Description |
|---|---|
ptr |
Int, host memory address. |
Return Values
Return Value |
Description |
|---|---|
ret |
Int, 0 on success; else failure. |
Parent topic: Host Memory Management