본문 바로가기

IT/Openmp

Openmp 참고사이트

 

 

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

 

'IT > Openmp' 카테고리의 다른 글

private, firstprivate, lastprivate  (0) 2020.08.27