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 that loop iterations will be shared among the master threads of all thread teams in a league created by a teams construct. This pragma only applies to Intel® MIC Architecture.
#pragma omp target teams distribute[clause, clause, ...] |
for loops
clause |
Can be any clause accepted by the target or teams distribute constructs with identical meanings and restrictions. |
This pragma is a shortcut for specifying a target construct followed immediately by a teams distribute construct.