diff --git a/scripts/loki_transform.py b/scripts/loki_transform.py index 1679a66a4..084841429 100644 --- a/scripts/loki_transform.py +++ b/scripts/loki_transform.py @@ -172,7 +172,7 @@ def convert( if 'scc' in mode: scheduler.process( RemoveCallsTransformation( routines=config.default.get('utility_routines', None) or ['DR_HOOK', 'ABOR1', 'WRITE(NULOUT'], - include_intrinsics=True + include_intrinsics=True, kernel_only=True )) else: scheduler.process( DrHookTransformation(mode=mode, remove=False) )