Function: host_unregister
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
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 Value
Return Value |
Description |
|---|---|
ret |
Int, error code. 0 on success; else, failure. |
Parent topic: Memory Management