Intel® C++ Compiler 16.0 User and Reference Guide

omp teams distribute parallel for

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.

Syntax

#pragma omp teams distribute parallel for[clause, clause, ...]

for-loops

Arguments

clause

Can be any clause accepted by the teams or distribute parallel for constructs with identical meanings and restrictions.

Description

This pragma is a shortcut for specifying a teams construct containing a distribute parallel for construct.