Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Frees host memory.
1 | aclError aclrtFreeHost(void *hostPtr) |
1 | ret= acl.rt.free_host(host_ptr) |
Parameter |
Description |
|---|---|
host_ptr |
Int, pointer address of the memory to be freed. |
Return Value |
Description |
|---|---|
ret |
Int, error code. 0 on success; else, failure. |