[all-commits] [llvm/llvm-project] b700a9: [mlir][gpu][sparse] add gpu ops for sparse matrix ...
Aart Bik via All-commits
all-commits at lists.llvm.org
Fri May 12 10:44:57 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b700a90cc0aa08252d764b1f7da67bd300469a76
https://github.com/llvm/llvm-project/commit/b700a90cc0aa08252d764b1f7da67bd300469a76
Author: Aart Bik <ajcbik at google.com>
Date: 2023-05-12 (Fri, 12 May 2023)
Changed paths:
M mlir/include/mlir/Dialect/GPU/IR/GPUBase.td
M mlir/include/mlir/Dialect/GPU/IR/GPUDialect.h
M mlir/include/mlir/Dialect/GPU/IR/GPUOps.td
M mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp
M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
M mlir/lib/ExecutionEngine/CMakeLists.txt
M mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp
A mlir/test/Conversion/GPUCommon/lower-sparse-to-gpu-runtime-calls.mlir
M mlir/test/Dialect/GPU/ops.mlir
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][gpu][sparse] add gpu ops for sparse matrix computations
This revision extends the GPU dialect with ops that can be lowered to
host-oriented sparse matrix library calls (in this case cuSparse focused
although the ops could be generalized to support more GPUs in principle).
This will allow the "sparse compiler pipeline" to accelerate sparse operations
(see follow up revisions with examples of this).
For some background;
https://discourse.llvm.org/t/sparse-compiler-and-gpu-code-generation/69786/2
Reviewed By: ThomasRaoux
Differential Revision: https://reviews.llvm.org/D150152
More information about the All-commits
mailing list