OpenACC™ parallel directive

Delineates a block of code that will be executed on an accelerator device.
!$acc parallel [clause [, clause ...]]
    block
!$acc end parallel
#pragma acc parallel [clause [, clause ...]]
    block

Supported clauses are if, async, num_gangs, num_workers, vector_length, reduction, copy, copyin, copyout, create, present, present_or_copy, present_or_copyin, present_or_copyout, present_or_create, deviceptr, private, firstprivate.

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


OpenACC™ Application Programming Interface Version 1.0