Intel® C++ Compiler 16.0 User and Reference Guide
Creates a league of thread teams to execute the structured block in the master thread of each team. 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.
#pragma omp teams distribute[clause, clause, ...] |
for-loops
clause |
Can be any clause accepted by the teams or distribute constructs with identical meanings and restrictions. |
This pragma is a shortcut for specifying a teams construct containing a distribute construct.