[all-commits] [llvm/llvm-project] d3af65: [mlir][sparse] introduce MapRef, unify conversion/...

Aart Bik via All-commits all-commits at lists.llvm.org
Fri Oct 6 13:42:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d3af65358d5935dbf4710ebaa8f822e859b64cf4
      https://github.com/llvm/llvm-project/commit/d3af65358d5935dbf4710ebaa8f822e859b64cf4
  Author: Aart Bik <39774503+aartbik at users.noreply.github.com>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M mlir/include/mlir/ExecutionEngine/SparseTensor/File.h
    A mlir/include/mlir/ExecutionEngine/SparseTensor/MapRef.h
    M mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h
    M mlir/include/mlir/ExecutionEngine/SparseTensorRuntime.h
    M mlir/lib/Dialect/SparseTensor/Transforms/CodegenUtils.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/CodegenUtils.h
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorCodegen.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp
    M mlir/lib/ExecutionEngine/SparseTensor/CMakeLists.txt
    A mlir/lib/ExecutionEngine/SparseTensor/MapRef.cpp
    M mlir/lib/ExecutionEngine/SparseTensorRuntime.cpp
    M mlir/test/Dialect/SparseTensor/codegen.mlir
    M mlir/test/Dialect/SparseTensor/conversion.mlir
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [mlir][sparse] introduce MapRef, unify conversion/codegen for reader (#68360)

This revision introduces a MapRef, which will support a future
generalization beyond permutations (e.g. block sparsity). This revision
also unifies the conversion/codegen paths for the sparse_tensor.new
operation from file (eg. the readers). Note that more unification is
planned as well as general affine dim2lvl and lvl2dim (all marked with
TODOs).




More information about the All-commits mailing list