-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix cpp-linter workflow to avoid CUDA/HIP failures #105
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cpp-linter Review
Used clang-tidy v18.1.3
Click here for the full clang-tidy patch
diff --git a/lib/JitEngineDevice.hpp b/lib/JitEngineDevice.hpp
index 1020c8a..57e117a 100644
--- a/lib/JitEngineDevice.hpp
+++ b/lib/JitEngineDevice.hpp
@@ -468 +468 @@ void JitEngineDevice<ImplT>::specializeIR(Module &M, StringRef FnName,
- for (int i = 0; i < 10; i += 2)
+ for (int I = 0; I < 10; I += 2)
Used clang-format v18.1.3
No concerns from clang-format.
Have any feedback or feature suggestions? Share it here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cpp-linter Review
Used clang-tidy v18.1.3
Click here for the full clang-tidy patch
diff --git a/lib/JitEngineDevice.hpp b/lib/JitEngineDevice.hpp
index 1020c8a..57e117a 100644
--- a/lib/JitEngineDevice.hpp
+++ b/lib/JitEngineDevice.hpp
@@ -468 +468 @@ void JitEngineDevice<ImplT>::specializeIR(Module &M, StringRef FnName,
- for (int i = 0; i < 10; i += 2)
+ for (int I = 0; I < 10; I += 2)
Used clang-format v18.1.3
No concerns from clang-format.
Have any feedback or feature suggestions? Share it here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cpp-linter Review
Used clang-tidy v18.1.3
Click here for the full clang-tidy patch
diff --git a/lib/JitEngineDevice.hpp b/lib/JitEngineDevice.hpp
index 1020c8a..57e117a 100644
--- a/lib/JitEngineDevice.hpp
+++ b/lib/JitEngineDevice.hpp
@@ -468 +468 @@ void JitEngineDevice<ImplT>::specializeIR(Module &M, StringRef FnName,
- for (int i = 0; i < 10; i += 2)
+ for (int I = 0; I < 10; I += 2)
Used clang-format v18.1.3
No concerns from clang-format.
Have any feedback or feature suggestions? Share it here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cpp-linter Review
Used clang-tidy v18.1.3
Click here for the full clang-tidy patch
diff --git a/lib/JitEngineDevice.hpp b/lib/JitEngineDevice.hpp
index 1020c8a..57e117a 100644
--- a/lib/JitEngineDevice.hpp
+++ b/lib/JitEngineDevice.hpp
@@ -468 +468 @@ void JitEngineDevice<ImplT>::specializeIR(Module &M, StringRef FnName,
- for (int i = 0; i < 10; i += 2)
+ for (int I = 0; I < 10; I += 2)
Used clang-format v18.1.3
No concerns from clang-format.
Have any feedback or feature suggestions? Share it here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cpp-linter Review
Used clang-tidy v18.1.3
Click here for the full clang-tidy patch
diff --git a/lib/JitEngineDevice.hpp b/lib/JitEngineDevice.hpp
index 1020c8a..57e117a 100644
--- a/lib/JitEngineDevice.hpp
+++ b/lib/JitEngineDevice.hpp
@@ -468 +468 @@ void JitEngineDevice<ImplT>::specializeIR(Module &M, StringRef FnName,
- for (int i = 0; i < 10; i += 2)
+ for (int I = 0; I < 10; I += 2)
Used clang-format v18.1.3
No concerns from clang-format.
Have any feedback or feature suggestions? Share it here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cpp-linter Review
Used clang-tidy v18.1.3
Click here for the full clang-tidy patch
diff --git a/lib/JitEngineDevice.hpp b/lib/JitEngineDevice.hpp
index 1020c8a..57e117a 100644
--- a/lib/JitEngineDevice.hpp
+++ b/lib/JitEngineDevice.hpp
@@ -468 +468 @@ void JitEngineDevice<ImplT>::specializeIR(Module &M, StringRef FnName,
- for (int i = 0; i < 10; i += 2)
+ for (int I = 0; I < 10; I += 2)
Used clang-format v18.1.3
No concerns from clang-format.
Have any feedback or feature suggestions? Share it here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cpp-linter Review
Used clang-tidy v18.1.3
Click here for the full clang-tidy patch
diff --git a/lib/JitEngineDevice.hpp b/lib/JitEngineDevice.hpp
index 1020c8a..57e117a 100644
--- a/lib/JitEngineDevice.hpp
+++ b/lib/JitEngineDevice.hpp
@@ -468 +468 @@ void JitEngineDevice<ImplT>::specializeIR(Module &M, StringRef FnName,
- for (int i = 0; i < 10; i += 2)
+ for (int I = 0; I < 10; I += 2)
Used clang-format v18.1.3
No concerns from clang-format.
Have any feedback or feature suggestions? Share it here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cpp-linter Review
Used clang-tidy v18.1.3
Click here for the full clang-tidy patch
diff --git a/lib/JitEngineDevice.hpp b/lib/JitEngineDevice.hpp
index 1020c8a..57e117a 100644
--- a/lib/JitEngineDevice.hpp
+++ b/lib/JitEngineDevice.hpp
@@ -468 +468 @@ void JitEngineDevice<ImplT>::specializeIR(Module &M, StringRef FnName,
- for (int i = 0; i < 10; i += 2)
+ for (int I = 0; I < 10; I += 2)
Used clang-format v18.1.3
No concerns from clang-format.
Have any feedback or feature suggestions? Share it here.
f434181
to
3deed43
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cpp-linter Review
Used clang-tidy v18.1.3
No concerns from clang-tidy.
Used clang-format v18.1.3
Click here for the full clang-format patch
diff --git a/lib/JitEngineDevice.hpp b/lib/JitEngineDevice.hpp
index a8f54fa..626d1e5 100644
--- a/lib/JitEngineDevice.hpp
+++ b/lib/JitEngineDevice.hpp
@@ -717 +717,2 @@ std::unique_ptr<Module> JitEngineDevice<ImplT>::linkJitModule(
- }return LinkedModule;
+ }
+ return LinkedModule;
Have any feedback or feature suggestions? Share it here.
- Keep clang-tidy review but do not fail due to compilation errors
3deed43
to
927a6f0
Compare
No description provided.