Skip to content

Commit bc5d55f

Browse files
committed
Revert NEMO hoisting of local arrays
1 parent 8c5dbe4 commit bc5d55f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/nemo/scripts/insert_loop_parallelism.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def trans(psyir):
278278

279279
normalise_loops(
280280
subroutine,
281-
hoist_local_arrays=gpu_loop_trans is not None,
281+
hoist_local_arrays=False,
282282
convert_array_notation=True,
283283
# See issue #3022
284284
loopify_array_intrinsics=psyir.name != "getincom.f90",
@@ -322,7 +322,7 @@ def trans(psyir):
322322
enable_reductions=not REPRODUCIBLE,
323323
uniform_intrinsics_only=REPRODUCIBLE,
324324
asynchronous_parallelism=enable_async,
325-
allow_strings="omp_offload" not in PARALLEL_DIRECTIVES,
325+
allow_strings="omp_offloading" not in PARALLEL_DIRECTIVES,
326326
)
327327
elif psyir.name not in PARALLELISATION_ISSUES and cpu_loop_trans:
328328
# These have issues offloading, but we can still do threading

0 commit comments

Comments
 (0)