[all-commits] [llvm/llvm-project] b95895: [mlir][sparse] introduce a new compressed(hi) dime...

PeimingLiu via All-commits all-commits at lists.llvm.org
Tue Apr 18 16:26:26 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b9589545c45b8b42a7434075151a4b1d4b798a70
      https://github.com/llvm/llvm-project/commit/b9589545c45b8b42a7434075151a4b1d4b798a70
  Author: Peiming Liu <peiming at google.com>
  Date:   2023-04-18 (Tue, 18 Apr 2023)

  Changed paths:
    M mlir/include/mlir-c/Dialect/SparseTensor.h
    M mlir/include/mlir/Dialect/SparseTensor/IR/Enums.h
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrDefs.td
    M mlir/lib/Bindings/Python/DialectSparseTensor.cpp
    M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
    M mlir/test/Dialect/SparseTensor/roundtrip_encoding.mlir

  Log Message:
  -----------
  [mlir][sparse] introduce a new compressed(hi) dimension level type

`compressed(hi)` is similar to `compressed`, but instead of reusing the previous position high as the current position low, it uses a pair of positions for each sparse index.

The patch only introduces the definition (syntax) but does not provide codegen implementation.

Reviewed By: aartbik

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




More information about the All-commits mailing list