Intel® C++ Compiler 16.0 User and Reference Guide

omp teams distribute parallel for simd

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. The loop will be distributed across the master threads of the teams region, which will be executed concurrently using SIMD instructions.

Syntax

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

for-loops

Arguments

clause

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

Description

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