IT/Openmp

Openmp 참고사이트

frieden1946 2020. 8. 25. 18:31

 

 

Chapter 3: nested

If we have nested for loops, it is often enough to simply parallelize the outermost loop: a(); #pragma omp parallel for for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { c(i, j); } } z(); This is all that we need most of the time. You can safely

ppc.cs.aalto.fi