Skip to content

[mlir][spirv] Support spirv.coopmatrix type (de-)serialization #65831

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 2 commits into from
Sep 11, 2023

Conversation

kuhar
Copy link
Member

@kuhar kuhar commented Sep 9, 2023

Extend SPIR-V target serialization and deserialization to handle coop matrix types. Add a roundtrip test. In addition to FileCheck checks, the resulting spirv binary also passes spir-val (external tool).

Also fix a type attribute bug surfaced by the CooperativeMatrixLength op.

Multiple matrix operand attributes will be handled in a future patch to reduce the scope.

Extend SPIR-V target serialization and deserialization to handle coop
matrix types. Add a roundtrip test. In addition to `FileCheck` checks,
the resulting spirv binary also passes `spir-val` (external tool).

Also fix a type attribute bug surfaced by the `CooperativeMatrixLength`
op.

Multiple matrix operand attributes will be handled in a future patch to
reduce the scope.
@kuhar kuhar requested review from a team as code owners September 9, 2023 04:35
@github-actions github-actions bot added mlir:core MLIR Core Infrastructure mlir:spirv mlir labels Sep 9, 2023
@kuhar kuhar merged commit 1258c3f into llvm:main Sep 11, 2023
ZijunZhaoCCK pushed a commit to ZijunZhaoCCK/llvm-project that referenced this pull request Sep 19, 2023
…m#65831)

Extend SPIR-V target serialization and deserialization to handle coop
matrix types. Add a roundtrip test. In addition to `FileCheck` checks,
the resulting spirv binary also passes `spir-val` (external tool).

Also fix a type attribute bug surfaced by the `CooperativeMatrixLength`
op.

Multiple matrix operand attributes will be handled in a future patch to
reduce the scope.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mlir:core MLIR Core Infrastructure mlir:spirv mlir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants