[all-commits] [llvm/llvm-project] b24788: [mlir][sparse] implement sparse tensor init operation

Aart Bik via All-commits all-commits at lists.llvm.org
Fri Oct 15 09:33:37 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b24788abd8df02169ecbf6afa91836819c8a35fe
      https://github.com/llvm/llvm-project/commit/b24788abd8df02169ecbf6afa91836819c8a35fe
  Author: Aart Bik <ajcbik at google.com>
  Date:   2021-10-15 (Fri, 15 Oct 2021)

  Changed paths:
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorPasses.cpp
    M mlir/lib/ExecutionEngine/SparseUtils.cpp
    M mlir/test/Dialect/SparseTensor/conversion.mlir

  Log Message:
  -----------
  [mlir][sparse] implement sparse tensor init operation

Next step towards supporting sparse tensors outputs.
Also some minor refactoring of enum constants as well
as replacing tensor arguments with proper buffer arguments
(latter is required for more general sizes arguments for
the sparse_tensor.init operation, as well as more general
spares_tensor.convert operations later)

Reviewed By: wrengr

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




More information about the All-commits mailing list