Skip to content

Commit

Permalink
log overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasdiener committed Jul 14, 2022
1 parent 70aac86 commit ee963c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions loopy/target/pyopencl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1054,6 +1054,9 @@ def get_function_declaration(
for arg_name in struct_overflow_arg_names])

if struct_overflow_arg_names:
logger.info(f"overflowing {len(regular_arg_names)}/"
f"{len(struct_overflow_arg_names)} args of '"
f"{subkernel_name}'")
arg_struct_preambles = [
(f"declare-{arg_overflow_struct_name}",
str(arg_overflow_struct))
Expand Down

0 comments on commit ee963c8

Please sign in to comment.