[Mlir-commits] [llvm] [mlir] [mlir][amdgpu] Improve Chipset version utility (PR #106169)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Aug 26 18:49:31 PDT 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 2a50dac9fb034a39ace861f7feb60c43ba23e53c cecb508647747cfbef9f59e9d2d162b1b9524319 --extensions h,cpp -- mlir/unittests/Dialect/AMDGPU/AMDGPUUtilsTest.cpp mlir/include/mlir/Dialect/AMDGPU/Utils/Chipset.h mlir/lib/Dialect/AMDGPU/Utils/Chipset.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/unittests/Dialect/AMDGPU/AMDGPUUtilsTest.cpp b/mlir/unittests/Dialect/AMDGPU/AMDGPUUtilsTest.cpp
index ba34e984d5..3266ac4f3f 100644
--- a/mlir/unittests/Dialect/AMDGPU/AMDGPUUtilsTest.cpp
+++ b/mlir/unittests/Dialect/AMDGPU/AMDGPUUtilsTest.cpp
@@ -1,4 +1,5 @@
-//===- AMDGPUUtilsTest.cpp - Unit tests for AMDGPU dialect utils -----------===//
+//===- AMDGPUUtilsTest.cpp - Unit tests for AMDGPU dialect utils
+//-----------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -57,6 +58,5 @@ TEST(ChipsetTest, Comparison) {
EXPECT_FALSE(Chipset(9, 0x42) < Chipset(9, 0x40));
}
-
} // namespace
} // namespace mlir::amdgpu
``````````
</details>
https://github.com/llvm/llvm-project/pull/106169
More information about the Mlir-commits
mailing list