Intel® C++ Compiler 16.0 User and Reference Guide
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. The loop will be distributed across the teams, which will be executed concurrently using SIMD instructions. This pragma only applies to Intel® MIC Architecture.
#pragma omp target teams distribute parallel for simd[clause, clause, ...] |
for-loops
clause |
Can be any clause accepted by the target or teams distribute parallel for simd constructs with identical meanings and restrictions. |
This pragma is a shortcut for specifying a target construct followed immediately by a teams distribute parallel for simd construct.