Skip to content

Commit

Permalink
fix[next]: remove debug messages in OTF workflow (#1666)
Browse files Browse the repository at this point in the history
Remove some debug messages in OTF workflow related to AOT-toolchain.
  • Loading branch information
edopao authored Sep 27, 2024
1 parent 6d011ea commit fb1d494
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/gt4py/next/otf/arguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,17 +205,14 @@ def iter_size_args(args: tuple[Any, ...], inside_tuple: bool = False) -> Iterato
This can be used to generate domain size arguments for FieldView Programs that use an implicit domain.
"""
print(f"iter_size_args: matching args {tuple(type(arg) for arg in args)}")
for arg in args:
print(f"iter_size_args: matching arg {arg}")
match arg:
case tuple():
# we only need the first field, because all fields in a tuple must have the same dims and sizes
first_field = find_first_field(arg)
if first_field:
yield from iter_size_args((first_field,))
case common.Field():
print(f"iter_size_args: yielding from {arg.ndarray.shape}")
yield from arg.ndarray.shape
case _:
pass
Expand Down

0 comments on commit fb1d494

Please sign in to comment.