[all-commits] [llvm/llvm-project] 52c87e: [mlir][sparse] use consistent type for COO object ...

Aart Bik via All-commits all-commits at lists.llvm.org
Mon Aug 2 15:25:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 52c87e0437808ed7249aaf73f43eda77e3f91d4d
      https://github.com/llvm/llvm-project/commit/52c87e0437808ed7249aaf73f43eda77e3f91d4d
  Author: Aart Bik <ajcbik at google.com>
  Date:   2021-08-02 (Mon, 02 Aug 2021)

  Changed paths:
    M mlir/lib/ExecutionEngine/SparseUtils.cpp

  Log Message:
  -----------
  [mlir][sparse] use consistent type for COO object and sparse tensor storage

There was a slightly mismatch between the double COO and actual numerical
type in the final sparse tensor storage (due to external formats always
using double). This minor revision removes that inconsistency by using a
properly typed COO and casting during the "add" method instead. This also
prepares alternative ways of initializing the COO object.

Reviewed By: gussmith23

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




More information about the All-commits mailing list