Skip to content

Commit 88bc27a

Browse files
examples: Remove non-working #pragma unroll statements
These give the following message: warning: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Wpass-failed=transform-warning]
1 parent efbd774 commit 88bc27a

File tree

4 files changed

+0
-12
lines changed

4 files changed

+0
-12
lines changed

examples/charm++/load_balancing/stencil3d/stencil3d.C

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,9 +323,6 @@ class Stencil: public CBase_Stencil {
323323
} else
324324
work = 10.0;
325325

326-
#ifndef _MSC_VER
327-
#pragma unroll
328-
#endif
329326
for(int w=0; w<work; w++) {
330327
for(int k=1; k<blockDimZ+1; ++k)
331328
for(int j=1; j<blockDimY+1; ++j)

examples/charm++/zerocopy/entry_method_api/prereg/stencil3d/stencil3d.C

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -343,9 +343,6 @@ class Stencil: public CBase_Stencil {
343343
} else
344344
work = 10.0;
345345

346-
#ifndef _MSC_VER
347-
#pragma unroll
348-
#endif
349346
for(int w=0; w<work; w++) {
350347
for(int k=1; k<blockDimZ+1; ++k)
351348
for(int j=1; j<blockDimY+1; ++j)

examples/charm++/zerocopy/entry_method_api/reg/stencil3d/stencil3d.C

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -363,9 +363,6 @@ class Stencil: public CBase_Stencil {
363363
} else
364364
work = 10.0;
365365

366-
#ifndef _MSC_VER
367-
#pragma unroll
368-
#endif
369366
for(int w=0; w<work; w++) {
370367
for(int k=1; k<blockDimZ+1; ++k)
371368
for(int j=1; j<blockDimY+1; ++j)

examples/charm++/zerocopy/entry_method_api/unreg/stencil3d/stencil3d.C

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -344,9 +344,6 @@ class Stencil: public CBase_Stencil {
344344
} else
345345
work = 10.0;
346346

347-
#ifndef _MSC_VER
348-
#pragma unroll
349-
#endif
350347
for(int w=0; w<work; w++) {
351348
for(int k=1; k<blockDimZ+1; ++k)
352349
for(int j=1; j<blockDimY+1; ++j)

0 commit comments

Comments
 (0)