Next: acc_update_device, Previous: acc_copyout, Up: OpenACC Runtime Library Routines [Contents][Index]
acc_delete – Free device memory.This function frees previously allocated device memory specified by the device address a and the length of len bytes.
In Fortran, two (2) forms are supported. In the first form, a specifies a contiguous array section. The second form a specifies a variable or array element and len specifies the length in bytes.
| Prototype: | acc_delete(h_void *a, size_t len); | 
| Interface: | subroutine acc_delete(a) | 
| type, dimension(:[,:]...) :: a | |
| Interface: | subroutine acc_delete(a, len) | 
| type, dimension(:[,:]...) :: a | |
| integer len | 
OpenACC specification v2.0, section 3.2.22.