[all-commits] [llvm/llvm-project] 6e2309: [mlir] [VectorOps] generalized vector.contract sem...

Aart Bik via All-commits all-commits at lists.llvm.org
Wed Feb 5 17:20:41 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e2309d7fae29097c0c8ca90e909e238c0cebe31
      https://github.com/llvm/llvm-project/commit/6e2309d7fae29097c0c8ca90e909e238c0cebe31
  Author: aartbik <ajcbik at google.com>
  Date:   2020-02-05 (Wed, 05 Feb 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/VectorOps/VectorOps.td
    M mlir/lib/Dialect/VectorOps/VectorOps.cpp
    M mlir/test/Dialect/VectorOps/invalid.mlir
    M mlir/test/Dialect/VectorOps/ops.mlir

  Log Message:
  -----------
  [mlir] [VectorOps] generalized vector.contract semantics

Summary:
Previously, vector.contract did not allow an empty set of
free or batch dimensions (K = 0) which defines a basic
reduction into a scalar (like a dot product). This CL
relaxes that restriction. Also adds constraints on
element type of operands and results. With tests.

Reviewers: nicolasvasilache, andydavis1, rriddle

Reviewed By: andydavis1

Subscribers: merge_guards_bot, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list