[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
Loading
Please sign in to comment