Skip to content

Commit

Permalink
SCC/Transform: Harmonize logging nomenclature slightly...
Browse files Browse the repository at this point in the history
  • Loading branch information
mlange05 authored and reuterbal committed Aug 30, 2023
1 parent 351a727 commit 6098cdb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion loki/transform/transform_array_indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,4 +495,4 @@ def demote_variables(routine, variable_names, dimensions):
)
routine.spec = Transformer(decl_map).visit(routine.spec)

info(f'[Loki] {routine.name}:: demoted variable(s): {", ".join(variable_names)}')
info(f'[Loki::Transform] Demoted variables in {routine.name}: {", ".join(variable_names)}')
4 changes: 2 additions & 2 deletions transformations/transformations/single_column_coalesced.py
Original file line number Diff line number Diff line change
Expand Up @@ -725,8 +725,8 @@ def hoist_temporary_column_arrays(cls, routine, call, horizontal, vertical, bloc
) for v in column_locals]
new_call = call.clone(arguments=call.arguments + as_tuple(new_args))

info(f'[Loki-SCC] Hoisted variables in call {routine.name} => {call.name}:'
f'{[v.name for v in column_locals]}')
info(f'[Loki-SCC::Hoist] Hoisted variables in call {routine.name} => {call.name}:'
f'{", ".join(v.name for v in column_locals)}')

# Find the iteration index variable for the specified horizontal
v_index = SCCBaseTransformation.get_integer_variable(routine, name=horizontal.index)
Expand Down

0 comments on commit 6098cdb

Please sign in to comment.