Intel® C++ Compiler 16.0 User and Reference Guide
Creates a device data environment and then executes the construct on that device. It also specifies a loop that can be executed in parallel by multiple threads that are members of multiple teams created by a teams construct. This pragma only applies to Intel® MIC Architecture.
#pragma omp target teams distribute parallel for[clause, clause, ...] |
for-loops
clause |
Can be any clause accepted by the
target
or
teams distribute parallel for
constructs with identical meanings and restrictions. |
This pragma is a shortcut for specifying a target construct followed immediately by a teams distribute parallel for construct.