Function: free
|
C Prototype |
aclError aclrtFree(void *devPtr) |
|---|---|
|
Python Function |
ret= acl.rt.free(dev_ptr) |
|
Function Usage |
Frees device memory. |
|
Input Description |
dev_ptr: int, pointer address of the memory to be freed. |
|
Return Value |
ret: int, error code.
|
|
Restrictions |
|
|
Reference |
Parent topic: Memory Management