Skip to content

Commit c254bcc

Browse files
authored
Fix ParallelForOMP introduced in #4595 (#4604)
GCC does not allow omp collapse on loops marked with ivdep.
1 parent 4851be6 commit c254bcc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Src/Base/AMReX_GpuLaunch.H

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,6 @@ void ParallelForOMP (Box const& box, T ncomp, L const& f) noexcept
316316
#if (AMREX_SPACEDIM == 1)
317317
#pragma omp parallel for collapse(2)
318318
for (T n = 0; n < ncomp; ++n) {
319-
AMREX_PRAGMA_SIMD
320319
for (int i = lo.x; i <= hi.x; ++i) {
321320
f(i,0,0,n);
322321
}

0 commit comments

Comments
 (0)