[all-commits] [llvm/llvm-project] 7d4da4: [mlir][sparse] generalize sparse tensor output imp...

Aart Bik via All-commits all-commits at lists.llvm.org
Mon Nov 29 16:16:20 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7d4da4e1ab7f79e51db0d5c2a0f5ef1711122dd7
      https://github.com/llvm/llvm-project/commit/7d4da4e1ab7f79e51db0d5c2a0f5ef1711122dd7
  Author: Aart Bik <ajcbik at google.com>
  Date:   2021-11-29 (Mon, 29 Nov 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/Utils/Merger.h
    M mlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
    M mlir/lib/Dialect/SparseTensor/Utils/Merger.cpp
    M mlir/test/Dialect/SparseTensor/sparse_out.mlir
    A mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_out_reduction.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_vector_ops.mlir

  Log Message:
  -----------
  [mlir][sparse] generalize sparse tensor output implementation

Moves sparse tensor output support forward by generalizing from injective
insertions only to include reductions. This revision accepts the case with all
parallel outer and all reduction inner loops, since that can be handled with
an injective insertion still. Next revision will allow the inner parallel loop
to move inward (but that will require "access pattern expansion" aka "workspace").

Reviewed By: bixia

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




More information about the All-commits mailing list