Implement cooperative matrix load for the SPV_KHR_cooperative_matrix
extension: https://github.com/KhronosGroup/SPIRV-Registry/blob/master/extensions/KHR/SPV_KHR_cooperative_matrix.html.
Also some minor fixes in common code for custom parsing.
Paths
| Differential D155616
[mlir][spirv] Add cooperative matrix load op ClosedPublic Authored by kuhar on Jul 18 2023, 9:05 AM.
Details Summary Implement cooperative matrix load for the SPV_KHR_cooperative_matrix Also some minor fixes in common code for custom parsing.
Diff Detail
Event Timeline
kuhar added a child revision: D155631: [mlir][spirv] Add cooperative matrix store op.Jul 18 2023, 1:04 PM This revision is now accepted and ready to land.Jul 18 2023, 10:41 PM
Closed by commit rG1fa9e150b43d: [mlir][spirv] Add cooperative matrix load op (authored by kuhar). · Explain WhyJul 19 2023, 8:00 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 542030 mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
mlir/include/mlir/Dialect/SPIRV/IR/SPIRVCooperativeMatrixOps.td
mlir/include/mlir/IR/OpImplementation.h
mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
mlir/test/Dialect/SPIRV/IR/cooperative-matrix-ops.mlir
|
FYI: This is an optional argument in the extension spec, but I didn't mark it as such to keep things simple for now -- I wanted to avoid having to disambiguate between the stride and the matrix layout.