[all-commits] [llvm/llvm-project] 762574: [mlir][Linalg] Add support for tileAndDistribute o...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Mon Nov 16 03:16:20 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 76257422378e54dc2b59ff034e2955e9518e6c99
      https://github.com/llvm/llvm-project/commit/76257422378e54dc2b59ff034e2955e9518e6c99
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2020-11-16 (Mon, 16 Nov 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/SCF/EDSC/Builders.h
    M mlir/include/mlir/Dialect/SCF/SCF.h
    M mlir/lib/Dialect/Linalg/Utils/Utils.cpp
    M mlir/lib/Dialect/SCF/EDSC/Builders.cpp
    M mlir/lib/Dialect/SCF/SCF.cpp
    M mlir/test/Dialect/Linalg/tile-and-distribute.mlir
    M mlir/test/EDSC/builder-api-test.cpp
    M mlir/test/lib/Transforms/TestLinalgTransforms.cpp

  Log Message:
  -----------
  [mlir][Linalg] Add support for tileAndDistribute on tensors.

scf.parallel is currently not a good fit for tiling on tensors.
Instead provide a path to parallelism directly through scf.for.
For now, this transformation ignores the distribution scheme and always does a block-cyclic mapping (where block is the tile size).

Differential revision: https://reviews.llvm.org/D90475




More information about the All-commits mailing list