-
Notifications
You must be signed in to change notification settings - Fork 128
Add debug symbols for parsed and compiler pass replaced instructions #4626
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
Merged
Merged
Changes from all commits
Commits
Show all changes
106 commits
Select commit
Hold shift + click to select a range
2e4d205
progress
CharlieL7 bb622af
dd
CharlieL7 277ff30
Merge branch 'develop' of github.com:ROCm/AMDMIGraphX into ins_debug_…
CharlieL7 432ed83
Add onnx_parser and module changes
CharlieL7 c2381cb
Change to use a set of debug_symbols when inserting ins
CharlieL7 b00e7e2
Incomplete first parse design
CharlieL7 1517438
Version 2 using scoped debug symbols in module
CharlieL7 b8e1cdb
Cleanup
CharlieL7 ec7487e
cleanup 2
CharlieL7 f499489
Formatting
CharlieL7 8324d9b
Add debug propagate with matcher context
CharlieL7 c9f567f
formatting
CharlieL7 e66c848
tests and fixup
CharlieL7 42eaac8
Merge branch 'develop' of github.com:ROCm/AMDMIGraphX into ins_debug_…
CharlieL7 a769c11
Add docs changes
CharlieL7 7321509
Have gather_replace_debug_symbols traverse empty
CharlieL7 2794a66
Copilot suggestions
CharlieL7 69c787a
more copilot
CharlieL7 d90382c
Update CHANGELOG.md
CharlieL7 107a7e7
Update src/module.cpp
CharlieL7 f9bb2c8
Revert matcher.hpp
CharlieL7 3d3bc42
Revert env_var doc
CharlieL7 66b0a2f
Review progress
CharlieL7 3cff180
Merge branch 'ins_debug_symbols' of github.com:ROCm/AMDMIGraphX into …
CharlieL7 b3c8a1c
Module tracking number of instructions with debug_symbols
CharlieL7 5830120
Cleanup
CharlieL7 f3e9709
Merge branch 'develop' of github.com:ROCm/AMDMIGraphX into ins_debug_…
CharlieL7 593fc75
Revert simplify_algebra
CharlieL7 fbdd1e8
Fix implementation and tests
CharlieL7 4e1cee9
splice fix and add gemm->add->add test
CharlieL7 dadc312
Refine the set difference algo and tests
CharlieL7 9a32dc4
Formatting
CharlieL7 7476ccf
Merge branch 'develop' of github.com:ROCm/AMDMIGraphX into ins_debug_…
CharlieL7 bd1997a
Formatting
CharlieL7 573ee7f
Update program serialization and fix EXPECT dangling ref
CharlieL7 8e8993d
Formatting
CharlieL7 0336f6d
Undo serialization changes for another PR
CharlieL7 2788196
Add more tests directly calling module::replace_ins
CharlieL7 0c7506b
Add onnx parse tests
CharlieL7 95a5d9e
Tidy fixes
CharlieL7 80f3e47
Licensing
CharlieL7 3f6e1a7
formatting
CharlieL7 c148ea6
Merge branch 'develop' of github.com:ROCm/AMDMIGraphX into ins_debug_…
CharlieL7 e2ea3ae
parser get_added_instructions only if used
CharlieL7 6c0f142
Fixes
CharlieL7 ac24118
more copilot fixes
CharlieL7 821aab6
Cleanup env
CharlieL7 3ba71ec
Add notify
CharlieL7 cfe37d6
Module const func
CharlieL7 a5c6706
Update gitignore
CharlieL7 cb0a3e8
formatting again
CharlieL7 2a0365b
join_strings to use const ref instead
CharlieL7 19f6165
Comment formatting
CharlieL7 7a4b3f4
Remove redunant test
CharlieL7 287b79b
More tests
CharlieL7 3f1ec9d
Add tests for module::remove_instruction changes
CharlieL7 508f29b
Merge branch 'develop' of github.com:ROCm/AMDMIGraphX into ins_debug_…
CharlieL7 162c811
Add debug symbols to MXR
CharlieL7 acffe7e
Tidy fix
CharlieL7 5e459d8
Merge branch 'ins_debug_symbols' of github.com:ROCm/AMDMIGraphX into …
CharlieL7 3e014fb
Revert stringutils change
CharlieL7 3393535
Revert properly
CharlieL7 4117546
Merge branch 'ins_debug_symbols' of github.com:ROCm/AMDMIGraphX into …
CharlieL7 bb471fb
Prototype version with commented out new reaches code
CharlieL7 4a1469b
Optimize the DFS calls
CharlieL7 abfa3d2
Commented out code cleanup
CharlieL7 0abea08
Fix serialization
CharlieL7 6b3cce7
Formatting
CharlieL7 5162ceb
Tidy fix
CharlieL7 a2a4bed
revert test.hpp changes
CharlieL7 3805cab
Replace instruction refactor
CharlieL7 b5e6816
revert instruction::reaches changes
CharlieL7 6671be0
Edit debug symbols print
CharlieL7 4b7c5ac
Revert op builder changes
CharlieL7 caa2a98
Edit .build*/ to .build/
CharlieL7 4fb59f0
Keep only build* fix
CharlieL7 b95aff8
Fix op_builders error
CharlieL7 8b6053e
Cleanup
CharlieL7 dfd5f69
Revert gitignore
CharlieL7 716033c
add tests and tidy
CharlieL7 1e237d5
Comment update
CharlieL7 bfa594f
formatting
CharlieL7 60143f7
copilot fixes
CharlieL7 7c266dd
Merge branch 'develop' of github.com:ROCm/AMDMIGraphX into ins_debug_…
CharlieL7 6a3ae3c
copilot review updates
CharlieL7 17d3f1d
licensing
CharlieL7 56ce83a
Formatting
CharlieL7 115f111
Fix bug with replace_instruction debug symbols that have no inputs
CharlieL7 9d8f0cf
Remove print
CharlieL7 3eea60c
Move and change tests
CharlieL7 9b2f759
Update API to set onnx_options use_debug_symbols
CharlieL7 fc3850c
Merge branch 'develop' of github.com:ROCm/AMDMIGraphX into ins_debug_…
CharlieL7 17d4595
Review comments
CharlieL7 e5b2009
Formatting
CharlieL7 e710cf6
License
CharlieL7 ce9d36c
Add tidy const to header
CharlieL7 a9519a5
Add debug symbols interface to api
CharlieL7 14cb668
Revert "Add debug symbols interface to api"
CharlieL7 f0f5b78
clean up const-ness
CharlieL7 bd39c88
Merge branch 'develop' of github.com:ROCm/AMDMIGraphX into ins_debug_…
CharlieL7 51b4cfe
Formatting
CharlieL7 2dca4f7
Remove constness
CharlieL7 f5acdc1
Tidy no lint stringutils
CharlieL7 904d37b
License date
CharlieL7 48b9f78
Formatting agin
CharlieL7 748e2bc
Cleanup replace_instruction code
CharlieL7 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder why tidy is complaining here. This function hasnt changed.