Add OMP static scheduling throughout, don't depend on heuristics

This commit is contained in:
christiealappatt
2020-07-29 14:16:35 +02:00
parent b43735168a
commit 14cbb9290e
8 changed files with 8 additions and 8 deletions

View File

@@ -153,7 +153,7 @@ int main (int argc, char** argv)
#endif
S = getTimeStamp();
#pragma omp parallel for
#pragma omp parallel for schedule(static)
for (int i=0; i<N; i++) {
a[i] = 2.0;
b[i] = 2.0;