[Mlir-commits] [mlir] [mlir][sparse][gpu] add CSC to libgen GPU sparsification using cuSparse (PR #67713)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Sep 28 10:36:37 PDT 2023


github-actions[bot] wrote:


<!--LLVM CODE FORMAT COMMENT: {clang-format}-->

:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff e994f84c8a6da60ef5426764ffb7b2487a2bf6e0 081a71e9a217f928d36776f5352aaec2ec0e1733 -- mlir/lib/Dialect/SparseTensor/Transforms/SparseGPUCodegen.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/mlir/lib/Dialect/SparseTensor/Transforms/SparseGPUCodegen.cpp b/mlir/lib/Dialect/SparseTensor/Transforms/SparseGPUCodegen.cpp
index ba3fd751c..00cc66cd6 100644
--- a/mlir/lib/Dialect/SparseTensor/Transforms/SparseGPUCodegen.cpp
+++ b/mlir/lib/Dialect/SparseTensor/Transforms/SparseGPUCodegen.cpp
@@ -39,7 +39,7 @@ enum class CuSparseFormat {
   kCOO,
   kCSR,
   kCSC,
-  kBSR,  // TODO: coming soon!
+  kBSR, // TODO: coming soon!
 };
 
 //===----------------------------------------------------------------------===//

``````````

</details>


https://github.com/llvm/llvm-project/pull/67713


More information about the Mlir-commits mailing list