-
Notifications
You must be signed in to change notification settings - Fork 912
Add checks to coopMatMulAdd #4022
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
base: main
Are you sure you want to change the base?
Conversation
Validate properties of coopMatMulAdd such as: * the inside dimension of the multiplication matrices must match * the dimension of the addition matrix must match the product of the multiplication * the usage property of all operands must match the expected value
@mmoult You probably want to take a look at the test failures that CI is reporting here. You will also want to add a test that triggers these new error checks, for example in |
tests under the SPV 1.4 semantics
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.29.9 to 3.29.11. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@df55935...3c3833e) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: 3.29.11 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
In SPIR-V specification `SPV_KHR_cooperative_matrix`, allows the `use` of cooperative matrix is a constant instruction. The use in this context is: how to use the matrix as matrixA, matrixB or matrixAccumulate. gl_MatrixUse* are constant integer values which can be used for the MatrixUse template parameter in cooperative matrix types.
This fixes KhronosGroup#4018 Capability names do not include the "Capability" prefix, but some capabilities where being labeled with it. This PR addresses the inconsistency. Tests adjusted to match the new labels.
…Group#3962) * Prevent null fieldName access. * Add test for unnamed parameter fix. * Update validation_fails.txt
Nvidia cooperative matrices have slightly different type parameters. Handle this variant properly in the MatMulAdd checks.
@arcady-lunarg I think this is ready for review. My rebase didn't cleanly handle my three commits on top of main, but you can easily see my changes with: |
Would you like me to make a fresh pull request with the same content (but without the bad rebase)? Would that help? I am a little surprised I haven't gotten any feedback for nearly 3 weeks. I was able to resolve the CI failures and I added a new test that triggers my checks, just as requested. |
Validate properties of coopMatMulAdd such as:
multiplication