Skip to content

Commit

Permalink
Loki-transform: Keep DR_HOOK calls in driver by adding kernel_only
Browse files Browse the repository at this point in the history
  • Loading branch information
mlange05 authored and reuterbal committed May 10, 2024
1 parent 5eaf973 commit ddb3e0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/loki_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def convert(
remove_code_trafo = scheduler.config.transformations.get('RemoveCodeTransformation', None)
if not remove_code_trafo:
remove_code_trafo = RemoveCodeTransformation(
remove_marked_regions=True, remove_dead_code=False,
remove_marked_regions=True, remove_dead_code=False, kernel_only=True,
call_names=('ABOR1', 'DR_HOOK'), intrinsic_names=('WRITE(NULOUT',)
)
scheduler.process(transformation=remove_code_trafo)
Expand Down

0 comments on commit ddb3e0d

Please sign in to comment.