Intel® C++ Compiler 16.0 User and Reference Guide

omp target teams distribute

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.

Syntax

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

for loops

Arguments

clause

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

Description

This pragma is a shortcut for specifying a target construct followed immediately by a teams distribute construct.