[all-commits] [llvm/llvm-project] ec97a2: [mlir][sparse] preserve zero-initialization for ma...

Aart Bik via All-commits all-commits at lists.llvm.org
Mon Sep 27 11:22:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec97a205c3cc5f1b407f18bb642c15bb8cfcb276
      https://github.com/llvm/llvm-project/commit/ec97a205c3cc5f1b407f18bb642c15bb8cfcb276
  Author: Aart Bik <ajcbik at google.com>
  Date:   2021-09-27 (Mon, 27 Sep 2021)

  Changed paths:
    M mlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
    M mlir/test/Dialect/SparseTensor/sparse_1d.mlir

  Log Message:
  -----------
  [mlir][sparse] preserve zero-initialization for materializing buffers

This revision makes sure that when the output buffer materializes locally
(in contrast with the passing in of output tensors either in-place or not
in-place), the zero initialization assumption is preserved. This also adds
a bit more documentation on our sparse kernel assumption (viz. TACO
assumptions).

Reviewed By: bixia

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




More information about the All-commits mailing list