[all-commits] [llvm/llvm-project] 41d412: [mlir][Linalg] Allow distribution `scf.parallel` l...

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Mon Aug 10 14:52:51 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 41d4120017f99386a62a9c0aac25fd2a369d0e02
      https://github.com/llvm/llvm-project/commit/41d4120017f99386a62a9c0aac25fd2a369d0e02
  Author: MaheshRavishankar <ravishankarm at google.com>
  Date:   2020-08-10 (Mon, 10 Aug 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    M mlir/include/mlir/Dialect/Linalg/Utils/Utils.h
    M mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
    M mlir/lib/Dialect/Linalg/Utils/Utils.cpp
    A mlir/test/Dialect/Linalg/tile-and-distribute.mlir
    M mlir/test/lib/Transforms/TestLinalgTransforms.cpp

  Log Message:
  -----------
  [mlir][Linalg] Allow distribution `scf.parallel` loops generated in
Linalg to processors.

This changes adds infrastructure to distribute the loops generated in
Linalg to processors at the time of generation. This addresses use
case where the instantiation of loop is done just to distribute
them. The option to distribute is added to TilingOptions for now and
will allow specifying the distribution as a transformation option,
just like tiling and promotion are specified as options.

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




More information about the All-commits mailing list