Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NFC] Add debug logging to Materialize Block Pointer pass #2348

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

alexbaden
Copy link
Contributor

Follows the Triton llvm debug syntax. Allows you to dump various parameters when running triton-opt with -debug.

cc #2347

@alexbaden alexbaden merged commit 19527ac into main Sep 26, 2024
4 checks passed
@alexbaden alexbaden deleted the alex/materialize_block_pointer_debug_logging branch September 26, 2024 00:37
alexbaden added a commit that referenced this pull request Sep 26, 2024
Per the Triton slack, `order` is unused on architecture below Hopper.
But more importantly, order provides information that stride already
has. In fact, order can be completely different from stride (i.e. wrong)
and we still generate correct code. I think it is better to use the
stride assuming the logic I added here makes sense.

Note this depends on #2348, I'd like to land the debug logging
separately, so we have it even if we decide to modify this approach. It
was very useful in debugging this problem.

cc #2347
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants