[all-commits] [llvm/llvm-project] 19466e: [mlir][sparse][gpu] a first prototype sparse GPU c...

Aart Bik via All-commits all-commits at lists.llvm.org
Wed Apr 5 11:32:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 19466ebc7ff8f51e2ce2c69949823a0c3e2fb660
      https://github.com/llvm/llvm-project/commit/19466ebc7ff8f51e2ce2c69949823a0c3e2fb660
  Author: Aart Bik <ajcbik at google.com>
  Date:   2023-04-05 (Wed, 05 Apr 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.h
    M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
    M mlir/lib/Dialect/SparseTensor/Transforms/CMakeLists.txt
    A mlir/lib/Dialect/SparseTensor/Transforms/SparseGPUCodegen.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorPasses.cpp
    A mlir/test/Dialect/SparseTensor/GPU/gpu_matmul.mlir
    A mlir/test/Dialect/SparseTensor/GPU/gpu_matvec.mlir
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [mlir][sparse][gpu] a first prototype sparse GPU code generator

This implements a proof-of-concept GPU code generator
to the sparse compiler pipeline, currently only capable
of generating CUDA threads for outermost parallel loops.

The objective, obviously, is to grow this concept
to a full blown GPU code generator, capable of the
right combinaton of code generation as well as exploiting
idiomatic kernels or vector specific libraries (think cuSparse).

Reviewed By: ThomasRaoux

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




More information about the All-commits mailing list