[all-commits] [llvm/llvm-project] 7ea643: [mlir][sparse] Introduce new sparse_tensor.storage...

PeimingLiu via All-commits all-commits at lists.llvm.org
Wed Aug 31 15:15:33 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ea643c06d8977045d0cf79507f36d828773378c
      https://github.com/llvm/llvm-project/commit/7ea643c06d8977045d0cf79507f36d828773378c
  Author: Peiming Liu <peiming at google.com>
  Date:   2022-08-31 (Wed, 31 Aug 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
    M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
    M mlir/test/Dialect/SparseTensor/invalid.mlir
    M mlir/test/Dialect/SparseTensor/roundtrip.mlir

  Log Message:
  -----------
  [mlir][sparse] Introduce new sparse_tensor.storage_get/set to access memory that stores the handle of a sparse tensor

Introduce new sparse_tensor.storage_get/set to access memory that stores the handle of a sparse tensor. The sparse tensor storage are represented as a tuple, these operation will later be eliminated and the tuple will be flattened after sparse tensor codegen

Reviewed By: aartbik

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




More information about the All-commits mailing list