Research Article

Performance of a Code Migration for the Simulation of Supersonic Ejector Flow to SMP, MIC, and GPU Using OpenMP, OpenMP+LEO, and OpenACC Directives

Listing 5

Iterations of the loops are joined to be executed in parallel by the team of threads.
!$OMP DO COLLAPSE(2)
DO j=2,(nj-1)
DO i=2,(ni-1)
END DO
END DO