[all-commits] [llvm/llvm-project] 8af0cc: [sparse][mlir] give all sparse kernels an explicit...

Aart Bik via All-commits all-commits at lists.llvm.org
Thu Jan 28 10:41:46 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8af0ccf5a498fb75f13aef0e3bd5c00bc348693f
      https://github.com/llvm/llvm-project/commit/8af0ccf5a498fb75f13aef0e3bd5c00bc348693f
  Author: Aart Bik <ajcbik at google.com>
  Date:   2021-01-28 (Thu, 28 Jan 2021)

  Changed paths:
    M mlir/test/Dialect/Linalg/sparse_1d.mlir
    M mlir/test/Dialect/Linalg/sparse_2d.mlir
    M mlir/test/Dialect/Linalg/sparse_3d.mlir
    M mlir/test/Dialect/Linalg/sparse_invalid.mlir
    M mlir/test/Dialect/Linalg/sparse_nd.mlir
    M mlir/test/Dialect/Linalg/sparse_parallel.mlir
    M mlir/test/Dialect/Linalg/sparse_storage.mlir
    M mlir/test/Dialect/Linalg/sparse_vector.mlir

  Log Message:
  -----------
  [sparse][mlir] give all sparse kernels an explicit "output" tensor

Rationale:
Providing an output tensor, even if one is not used as input to
the kernel provides the right pattern for using lingalg sparse
kernels (in contrast with reusing a tensor just to provide the shape).
This prepares proper bufferization that will follow.

Reviewed By: bixia

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




More information about the All-commits mailing list