Skip to content

Conversation

mmoult
Copy link
Contributor

@mmoult mmoult commented Aug 19, 2025

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 added 2 commits August 19, 2025 18:53
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
@arcady-lunarg
Copy link
Contributor

@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 Test/spv.coopmat_Error.comp.

wooyoungqcom and others added 7 commits August 30, 2025 12:15
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.
@mmoult
Copy link
Contributor Author

mmoult commented Aug 30, 2025

@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:

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.

6 participants