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