Skip to content

Commit

Permalink
SCC-ecWam: calls to sequential routines excluded from separator_nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
awnawab committed Jun 21, 2023
1 parent 8faacae commit b200f33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions transformations/tests/test_single_column_coalesced.py
Original file line number Diff line number Diff line change
Expand Up @@ -1539,6 +1539,7 @@ def test_single_column_coalesced_vector_inlined_call(frontend, horizontal):

fcode = """
subroutine some_inlined_kernel(work)
!$loki routine seq
real, intent(inout) :: work
work = work*2.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ def extract_vector_sections(cls, section, horizontal):

# check if calls have been enriched
if not call.routine is BasicType.DEFERRED:
if not horizontal.size in call.routine.symbol_map:
# check if called routine is marked as sequential
if SCCBaseTransformation.check_routine_pragmas(routine=call.routine, directive=None):
continue

if call in section:
Expand Down

0 comments on commit b200f33

Please sign in to comment.