-
Notifications
You must be signed in to change notification settings - Fork 853
Implement HLSL Diagnostics for LinAlg operations #7430
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
tex3d
merged 51 commits into
microsoft:main
from
anupamachandra:anupamac/coopvec-hlsl-validation-main
May 16, 2025
Merged
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
3dd5f58
Add HLSL validation to coopvec builtins
anupamachandra 70119f8
Add more HLSL validation
anupamachandra 737e65b
Add IsTransposable check for matrix layouts
anupamachandra e4eab81
Check validation of Bias Interpretation parameters
anupamachandra 392322d
Add diagnostics for OuterProoductAccumulate
anupamachandra 1831811
Updated error message
anupamachandra d1fe869
Minor Fixes
anupamachandra 4d751a7
Clang Format
anupamachandra 02cb085
Fix error location and add tests
anupamachandra 969d7e6
More validation tests
anupamachandra f132c60
Check Matrix dimensions are not zero
anupamachandra 3c19297
More tests
anupamachandra 3da3872
Remove unnecessary space
anupamachandra 16a5ab8
Fix run command
anupamachandra 2132e01
Updated Comments
anupamachandra 182baae
Update invalid checks for input interpretation
anupamachandra 974f2d4
Fix Build errors
anupamachandra 64a01e9
Fix Build failures: tests not per spec
anupamachandra f36758f
Fix build errors
anupamachandra 9f24be7
Change linalg.h to use IsUnsigned type trait pattern than function te…
anupamachandra e715df4
chore: autopublish 2025-05-07T19:27:48Z
github-actions[bot] 2d3f262
Remove/comment unused variables: build errors
anupamachandra bf5c62f
Use linalg headers in the hlsl validation tests
anupamachandra be4c02f
Ugh..line number change from updating the linalg headers
anupamachandra c4233f0
Update tools/clang/lib/Headers/hlsl/dx/linalg.h
anupamachandra 4295c84
Update variable name missed
anupamachandra 17b810e
Use ComponentType and MatrixLayout from DxilConstants.h
anupamachandra 3cce131
Fix unsafe inmplicit cast
anupamachandra c9c1389
Add tests to mul_add_invalid for shared parameters
anupamachandra e870b99
Add validation and tests for packed input types
anupamachandra 46c2caf
chore: autopublish 2025-05-09T16:56:52Z
github-actions[bot] 99a9566
review feedback
anupamachandra 2ab5c86
alignment
anupamachandra 90fac97
Add Max Matrix Dim checks
anupamachandra 62c31bc
Update diagnostics per review feedback
anupamachandra a8676ea
Per review feedback, change upper to lower case register/memory inter…
anupamachandra 9045c82
Review feedback: Prefer 0 over zero in diagnostic messages to avoid l…
anupamachandra 4fc747e
Updates based on review feedback: fix range specification
anupamachandra 5650cf1
Change input/output vector allowed types from numeric to custom linal…
anupamachandra b845582
Update per feeback: refactor Matrix dimension check diagnostics
anupamachandra baa4bbc
Fix darker error
anupamachandra 40a2311
Merge from main
anupamachandra 5751f2b
Fix typo
anupamachandra c60bcba
Remove unused variable
anupamachandra 1bbaa40
Add tests for IsUnsigned::value, remove uint64 case
anupamachandra de5d0ea
Replace explicit SM6.9 checks with intrinsic attribute
tex3d ffdb3d4
Add IsUnsigned template specializations for all allowed types
anupamachandra 78e5268
Minor fixes
anupamachandra 15d9177
Clang format plus test updates with linenum
anupamachandra 1e4dfbc
Clang format fixes
anupamachandra a8fe58f
Update IsUnsigned specializations to use macros: better readability
anupamachandra 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
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.
Uh oh!
There was an error while loading. Please reload this page.