Creating Parallel Regions
Only one way to create threads in OpenMP API:
Fortran
C
C$OMP PARALLEL
Code to be executed by each thread
C$OMP END PARALLEL
#pragma omp parallel
{
Code to be executed by each thread
}
Parallel
Region
Parallel
Region
Previous slide
Next slide
Back to first slide
View graphic version