[all-commits] [llvm/llvm-project] 55d53d: [mlir][spirv] Add MatrixTimesScalar operation

HazemAbdelhafez via All-commits all-commits at lists.llvm.org
Wed Jun 17 15:35:00 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 55d53d4f5448db87ab0bec903be94b696c8ed3e8
      https://github.com/llvm/llvm-project/commit/55d53d4f5448db87ab0bec903be94b696c8ed3e8
  Author: HazemAbdelhafez <23439402+HazemAbdelhafez at users.noreply.github.com>
  Date:   2020-06-17 (Wed, 17 Jun 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/SPIRV/SPIRVBase.td
    A mlir/include/mlir/Dialect/SPIRV/SPIRVMatrixOps.td
    M mlir/include/mlir/Dialect/SPIRV/SPIRVOps.td
    M mlir/lib/Dialect/SPIRV/SPIRVOps.cpp
    M mlir/test/Dialect/SPIRV/Serialization/matrix.mlir
    A mlir/test/Dialect/SPIRV/matrix-ops.mlir

  Log Message:
  -----------
  [mlir][spirv] Add MatrixTimesScalar operation

Summary:
- Define the MatrixTimesScalar operation and add roundtrip tests.
- Added a new base class for matrix-specific operations to avoid invalid operands type mismatch check.
- Created a separate Matrix arithmetic operations td file to add more operations in the future.
- Augmented the automatically generated verify method to print more fine-grained error messages.
- Made minor Updates to the matrix type tests.

Reviewers: antiagainst, rriddle, mravishankar

Reviewed By: antiagainst

Subscribers: mehdi_amini, jpienaar, shauheen, nicolasvasilache, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, stephenneuendorffer, Joonsoo, bader, grosul1, frgossen, Kayjukh, jurahul, msifontes

Tags: #mlir

Differential Revision: https://reviews.llvm.org/D81677




More information about the All-commits mailing list