Intel® C++ Compiler 16.0 User and Reference Guide

omp teams distribute

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.

Syntax

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

for-loops

Arguments

clause

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

Description

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