函数:free_host
|
C函数原型 |
aclError aclrtFreeHost(void *hostPtr) |
|---|---|
|
Python函数 |
ret= acl.rt.free_host(host_ptr) |
|
函数功能 |
释放Host上的内存。 |
|
输入说明 |
host_ptr:int,待释放内存的指针地址。 |
|
返回值说明 |
ret:int,错误码。
|
|
约束说明 |
|
|
参考资源 |
父主题: 内存管理