OpenACC™ kernels directive

Delineates a block of code that will, at the compiler's discretion, be compiled into a sequence of kernels to be executed on an accelerator device.
!$acc kernels [clause [, clause ...]]
    block
!$acc end kernels
#pragma acc kernels [clause [, clause ...]]
    block

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

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


OpenACC™ Application Programming Interface Version 1.0