[Mlir-commits] [mlir] [MLIR] Add XeGPU dialect for Intel GPU (PR #78483)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Feb 23 15:29:45 PST 2024


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 d525e2b31b999fb2c989fb0986332066466c61c7 82246645b2191ad8bd875e90c14f8b56475aff32 -- mlir/include/mlir/Dialect/XeGPU/IR/XeGPU.h mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp mlir/include/mlir/InitAllDialects.h
``````````

</details>

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

``````````diff
diff --git a/mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp b/mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
index 552ff881ef..d73ae384d0 100644
--- a/mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
+++ b/mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
@@ -39,7 +39,8 @@ void XeGPUDialect::initialize() {
       >();
 }
 
-// this file is left for position occupation, we will add functions in following PRs.
+// this file is left for position occupation, we will add functions in following
+// PRs.
 
 } // namespace xegpu
 } // namespace mlir
diff --git a/mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp b/mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
index baeb66522e..0cbb60b7e2 100644
--- a/mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
+++ b/mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
@@ -26,7 +26,8 @@ namespace mlir {
 class Token;
 
 namespace xegpu {
-  // this file is left for position occupation, we will add functions in following PRs.
+// this file is left for position occupation, we will add functions in following
+// PRs.
 
 } // namespace xegpu
 } // namespace mlir

``````````

</details>


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


More information about the Mlir-commits mailing list