Skip to content

Conversation

@willghatch
Copy link
Contributor

Depends on iree-org/iree#22216 in iree.

Along with #340 this enables DWARF output with locations for Wave kernels.

Copilot AI review requested due to automatic review settings October 10, 2025 18:32
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds debugging support for Wave kernels by emitting DWARF debug information through a new IREE flag. It enables developers to debug compiled Wave kernels with proper source location mapping.

  • Adds conditional emission of --iree-hip-emit-debug-info flag based on debug configuration
  • Introduces comprehensive end-to-end test for DWARF debug information in compiled Wave kernels

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
wave_lang/kernel/wave/utils/compile_utils.py Adds conditional IREE debug flag emission when debug info is not dropped
lit_tests/kernel/wave/debug_dwarf.py New test verifying DWARF debug information preservation through compilation pipeline

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@willghatch willghatch force-pushed the users/willghatch/use-new-iree-flag branch from b78c04b to 20b0681 Compare October 10, 2025 18:38
Copilot AI review requested due to automatic review settings October 22, 2025 16:59
@willghatch willghatch force-pushed the users/willghatch/use-new-iree-flag branch from 20b0681 to 329a335 Compare October 22, 2025 16:59
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@willghatch willghatch force-pushed the users/willghatch/use-new-iree-flag branch from 329a335 to 09a0ef2 Compare October 23, 2025 17:03
Depends on iree-org/iree#22216 in iree.

Along with #340 this enables DWARF output with locations for Wave kernels.

Signed-off-by: William G Hatch <william@hatch.uno>
Signed-off-by: William G Hatch <william@hatch.uno>
Copilot AI review requested due to automatic review settings October 28, 2025 01:34
@willghatch willghatch force-pushed the users/willghatch/use-new-iree-flag branch from 09a0ef2 to 792ea44 Compare October 28, 2025 01:34
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: William G Hatch <william@hatch.uno>
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.

3 participants