46
edits
Changes
m
→Comparesion to MPI & OpenMP
== Comparesion to MPI & OpenMP ==
// OpenMP code
for(iter i = 0 ; iteri<niter; iteri++) { if(iter == 1) start_time();
#pragma omp parallel for
for(…) {} //application loop
// Chapel code
for iter in 01..#niter { if iter == 1 then start_time();
forall .. {} //application loop
}