[PATCH] D80181: [mlir][spirv] Add remaining cooperative matrix instructions.

Thomas Raoux via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 18 21:40:52 PDT 2020


ThomasRaoux created this revision.
ThomasRaoux added reviewers: antiagainst, mravishankar.
Herald added subscribers: llvm-commits, jurahul, Kayjukh, frgossen, grosul1, bader, Joonsoo, stephenneuendorffer, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, nicolasvasilache, shauheen, jpienaar, rriddle, mehdi_amini.
Herald added a project: LLVM.

Those are  changes on top of D80043 <https://reviews.llvm.org/D80043> which add cooperative matrix basic infrastructure. This adds support for cooperative matrix support for arithmetic and cast instructions. It also adds cooperative matrix store, muladd and matrixlength instructions which are part of the extension.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D80181

Files:
  mlir/include/mlir/Dialect/SPIRV/SPIRVArithmeticOps.td
  mlir/include/mlir/Dialect/SPIRV/SPIRVBase.td
  mlir/include/mlir/Dialect/SPIRV/SPIRVCastOps.td
  mlir/include/mlir/Dialect/SPIRV/SPIRVCooperativeMatrixOps.td
  mlir/lib/Dialect/SPIRV/SPIRVOps.cpp
  mlir/test/Dialect/SPIRV/Serialization/cooperative-matrix.mlir
  mlir/test/Dialect/SPIRV/cooperative-matrix.mlir
  mlir/test/Dialect/SPIRV/ops.mlir
  mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80181.264785.patch
Type: text/x-patch
Size: 27249 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200519/aa6c2148/attachment.bin>


More information about the llvm-commits mailing list