[PATCH] D74014: [mlir] [VectorOps] generalized vector.contract semantics
Aart Bik via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 4 18:12:45 PST 2020
aartbik created this revision.
Herald added subscribers: llvm-commits, Joonsoo, liufengdb, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, burmako, jpienaar, rriddle, mehdi_amini.
Herald added a reviewer: nicolasvasilache.
Herald added a project: LLVM.
aartbik added reviewers: andydavis1, rriddle.
Previously, vector.contract did not allow an empty set of
free or batch dimensions (K = 0) which defines a basic
reduction into a scalar (lie a dot product). This CL
relaxes that restriction. Also adds constraints on
element type of operands and results. With tests.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D74014
Files:
mlir/include/mlir/Dialect/VectorOps/VectorOps.td
mlir/lib/Dialect/VectorOps/VectorOps.cpp
mlir/test/Dialect/VectorOps/invalid.mlir
mlir/test/Dialect/VectorOps/ops.mlir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74014.242487.patch
Type: text/x-patch
Size: 12659 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200205/2b9742f1/attachment.bin>
More information about the llvm-commits
mailing list