3.9.2.1. !$omp target
¶
!$omp target
/!$omp end target
is analogous to
!$omp parallel
, in that it defines a section of the
code that will be executed on the GPU.
It could also be used to specify variables that are local
on the GPU, or shared read-write, etc., but in the context
if DISPATCH this is better done with !$omp declare target
directives.