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 a loop that can be executed in parallel by multiple threads that are members of multiple teams.
#pragma omp teams distribute parallel for[clause, clause, ...] |
for-loops
clause |
Can be any clause accepted by the teams or distribute parallel for constructs with identical meanings and restrictions. |
This pragma is a shortcut for specifying a teams construct containing a distribute parallel for construct.