<PREV> <INDEX> <NEXT>

OpenMP

Multi-threading layer on top of compilers:

Restrictions:

Implementation:
#pragma omp description clause

Ex: #pragma omp parallel for private(x)

Scheduling:
All iterations take the same time -> uniformly distributed
Compromise: performance vs memory conflicts
Clause: schedule(kind, chunk size)
   kind = static, dynamic, guided, runtime

Issues:

OpenMP in gcc:

<PREV> <INDEX> <NEXT>