[all-commits] [llvm/llvm-project] d5f0d0: [mlir][sparse] add ability to select pointer/index...

Aart Bik via All-commits all-commits at lists.llvm.org
Wed Nov 25 17:33:14 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d5f0d0c0c4117295d9e76bbafaf0597e01ef3c99
      https://github.com/llvm/llvm-project/commit/d5f0d0c0c4117295d9e76bbafaf0597e01ef3c99
  Author: Aart Bik <ajcbik at google.com>
  Date:   2020-11-25 (Wed, 25 Nov 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    M mlir/lib/Dialect/Linalg/Transforms/Sparsification.cpp
    A mlir/test/Dialect/Linalg/sparse_storage.mlir
    M mlir/test/lib/Transforms/TestSparsification.cpp

  Log Message:
  -----------
  [mlir][sparse] add ability to select pointer/index storage type

This change gives sparse compiler clients more control over selecting
individual types for the pointers and indices in the sparse storage schemes.
Narrower width obviously results in smaller memory footprints, but the
range should always suffice for the maximum number of entries or index value.

Reviewed By: penpornk

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




More information about the All-commits mailing list