Intel® C++ Compiler 16.0 User and Reference Guide

omp target teams distribute parallel for

Creates a device data environment and then executes the construct on that device. It also specifies a loop that can be executed in parallel by multiple threads that are members of multiple teams created by a teams construct. This pragma only applies to Intel® MIC Architecture.

Syntax

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

for-loops

Arguments

clause

Can be any clause accepted by the target or teams distribute parallel for

constructs with identical meanings and restrictions.

Description

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