OpenACC™ declare directive

Appears alongside local variable declarations, identifying scalars, arrays, and subarrays that will be available to an accelerator device during its execution and whether they will be copied into and out of device memory upon entry and exit.
!$acc declare clause [, clause ...] #pragma acc declare clause [, clause ...]

Supported clauses are copy, copyin, copyout, create, present, present_or_copy, present_or_copyin, present_or_copyout, present_or_create, deviceptr, device_resident.

For more information, see Section 2.11 of The OpenACC™ Application Programming Interface, Version 1.0, available from http://www.openacc-standard.org.


OpenACC™ Application Programming Interface Version 1.0