Intel® C++ Compiler 16.0 User and Reference Guide

omp target teams

Creates a device data environment and executes the construct on the same device. It also creates a league of thread teams with the master thread in each team execution the structured block.This pragma only applies to Intel® MIC Architecture.

Syntax

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

structured-block

Arguments

clause

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

Description

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