[all-commits] [llvm/llvm-project] 736c1b: [mlir][sparse] introduce complex type to sparse te...

Aart Bik via All-commits all-commits at lists.llvm.org
Mon May 16 13:18:04 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 736c1b66ef332014d0e183627d32edb39a3016dd
      https://github.com/llvm/llvm-project/commit/736c1b66ef332014d0e183627d32edb39a3016dd
  Author: Aart Bik <ajcbik at google.com>
  Date:   2022-05-16 (Mon, 16 May 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/Utils/Merger.h
    M mlir/include/mlir/ExecutionEngine/SparseTensorUtils.h
    M mlir/lib/Dialect/SparseTensor/Pipelines/CMakeLists.txt
    M mlir/lib/Dialect/SparseTensor/Pipelines/SparseTensorPipelines.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/CodegenUtils.cpp
    M mlir/lib/Dialect/SparseTensor/Utils/CMakeLists.txt
    M mlir/lib/Dialect/SparseTensor/Utils/Merger.cpp
    M mlir/lib/ExecutionEngine/SparseTensorUtils.cpp
    A mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_complex32.mlir
    A mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_complex64.mlir
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [mlir][sparse] introduce complex type to sparse tensor support

This is the first implementation of complex (f64 and f32) support
in the sparse compiler, with complex add/mul as first operations.
Note that various features are still TBD, such as other ops, and
reading in complex values from file. Also, note that the
std::complex<float> had a bit of an ABI issue when passed as
single argument. It is still TBD if better solutions are possible.

Reviewed By: bixia

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




More information about the All-commits mailing list