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 HEAD~1 HEAD --extensions inc,h,cl -- 
libclc/clc/include/clc/math/clc_half_cos.h 
libclc/clc/include/clc/math/clc_half_divide.h 
libclc/clc/include/clc/math/clc_half_exp.h 
libclc/clc/include/clc/math/clc_half_exp10.h 
libclc/clc/include/clc/math/clc_half_exp2.h 
libclc/clc/include/clc/math/clc_half_log.h 
libclc/clc/include/clc/math/clc_half_log10.h 
libclc/clc/include/clc/math/clc_half_log2.h 
libclc/clc/include/clc/math/clc_half_powr.h 
libclc/clc/include/clc/math/clc_half_recip.h 
libclc/clc/include/clc/math/clc_half_rsqrt.h 
libclc/clc/include/clc/math/clc_half_sin.h 
libclc/clc/include/clc/math/clc_half_sqrt.h 
libclc/clc/include/clc/math/clc_half_tan.h 
libclc/clc/lib/amdgpu/math/clc_half_exp2.cl 
libclc/clc/lib/generic/math/clc_half_cos.cl 
libclc/clc/lib/generic/math/clc_half_divide.inc 
libclc/clc/lib/generic/math/clc_half_exp.cl 
libclc/clc/lib/generic/math/clc_half_exp10.cl 
libclc/clc/lib/generic/math/clc_half_exp2.cl 
libclc/clc/lib/generic/math/clc_half_log.cl 
libclc/clc/lib/generic/math/clc_half_log10.cl 
libclc/clc/lib/generic/math/clc_half_log2.cl 
libclc/clc/lib/generic/math/clc_half_powr.cl 
libclc/clc/lib/generic/math/clc_half_recip.cl 
libclc/clc/lib/generic/math/clc_half_recip.inc 
libclc/clc/lib/generic/math/clc_half_rsqrt.cl 
libclc/clc/lib/generic/math/clc_half_sin.cl 
libclc/clc/lib/generic/math/clc_half_sqrt.cl 
libclc/clc/lib/generic/math/clc_half_tan.cl libclc/generic/lib/math/half_cos.cl 
libclc/generic/lib/math/half_divide.cl libclc/generic/lib/math/half_exp.cl 
libclc/generic/lib/math/half_exp10.cl libclc/generic/lib/math/half_exp2.cl 
libclc/generic/lib/math/half_log.cl libclc/generic/lib/math/half_log10.cl 
libclc/generic/lib/math/half_log2.cl libclc/generic/lib/math/half_powr.cl 
libclc/generic/lib/math/half_recip.cl libclc/generic/lib/math/half_rsqrt.cl 
libclc/generic/lib/math/half_sin.cl libclc/generic/lib/math/half_sqrt.cl 
libclc/generic/lib/math/half_tan.cl libclc/clc/lib/amdgpu/math/clc_half_exp.cl 
libclc/clc/lib/amdgpu/math/clc_half_exp10.cl 
libclc/clc/lib/amdgpu/math/clc_half_log.cl 
libclc/clc/lib/amdgpu/math/clc_half_log10.cl 
libclc/clc/lib/amdgpu/math/clc_half_log2.cl 
libclc/clc/lib/amdgpu/math/clc_half_native_unary.inc 
libclc/clc/lib/amdgpu/math/clc_half_recip.cl 
libclc/clc/lib/amdgpu/math/clc_half_rsqrt.cl 
libclc/clc/lib/amdgpu/math/clc_half_sqrt.cl 
libclc/clc/lib/generic/math/clc_half_divide.cl
``````````

</details>

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

``````````diff
diff --git a/libclc/clc/lib/amdgpu/math/clc_half_exp.cl 
b/libclc/clc/lib/amdgpu/math/clc_half_exp.cl
index 97ca41233..5fa9d0b9a 100644
--- a/libclc/clc/lib/amdgpu/math/clc_half_exp.cl
+++ b/libclc/clc/lib/amdgpu/math/clc_half_exp.cl
@@ -7,7 +7,7 @@
 
//===----------------------------------------------------------------------===//
 
 #include <clc/math/clc_native_exp.h>
- 
+
 #define __CLC_FUNC exp
 #define __FLOAT_ONLY
 #define __CLC_BODY <clc_half_native_unary.inc>
diff --git a/libclc/clc/lib/amdgpu/math/clc_half_exp10.cl 
b/libclc/clc/lib/amdgpu/math/clc_half_exp10.cl
index b92eb7656..5c119eb5a 100644
--- a/libclc/clc/lib/amdgpu/math/clc_half_exp10.cl
+++ b/libclc/clc/lib/amdgpu/math/clc_half_exp10.cl
@@ -7,7 +7,7 @@
 
//===----------------------------------------------------------------------===//
 
 #include <clc/math/clc_native_exp10.h>
- 
+
 #define __CLC_FUNC exp10
 #define __FLOAT_ONLY
 #define __CLC_BODY <clc_half_native_unary.inc>
diff --git a/libclc/clc/lib/amdgpu/math/clc_half_log.cl 
b/libclc/clc/lib/amdgpu/math/clc_half_log.cl
index 302f90115..ea19bd5a4 100644
--- a/libclc/clc/lib/amdgpu/math/clc_half_log.cl
+++ b/libclc/clc/lib/amdgpu/math/clc_half_log.cl
@@ -7,7 +7,7 @@
 
//===----------------------------------------------------------------------===//
 
 #include <clc/math/clc_native_log.h>
- 
+
 #define __CLC_FUNC log
 #define __FLOAT_ONLY
 #define __CLC_BODY <clc_half_native_unary.inc>
diff --git a/libclc/clc/lib/amdgpu/math/clc_half_log10.cl 
b/libclc/clc/lib/amdgpu/math/clc_half_log10.cl
index a02ea064e..af3a26953 100644
--- a/libclc/clc/lib/amdgpu/math/clc_half_log10.cl
+++ b/libclc/clc/lib/amdgpu/math/clc_half_log10.cl
@@ -7,7 +7,7 @@
 
//===----------------------------------------------------------------------===//
 
 #include <clc/math/clc_native_log10.h>
- 
+
 #define __CLC_FUNC log10
 #define __FLOAT_ONLY
 #define __CLC_BODY <clc_half_native_unary.inc>
diff --git a/libclc/clc/lib/amdgpu/math/clc_half_log2.cl 
b/libclc/clc/lib/amdgpu/math/clc_half_log2.cl
index bf6dee986..81795f012 100644
--- a/libclc/clc/lib/amdgpu/math/clc_half_log2.cl
+++ b/libclc/clc/lib/amdgpu/math/clc_half_log2.cl
@@ -7,7 +7,7 @@
 
//===----------------------------------------------------------------------===//
 
 #include <clc/math/clc_native_log2.h>
- 
+
 #define __CLC_FUNC log2
 #define __FLOAT_ONLY
 #define __CLC_BODY <clc_half_native_unary.inc>
diff --git a/libclc/clc/lib/amdgpu/math/clc_half_recip.cl 
b/libclc/clc/lib/amdgpu/math/clc_half_recip.cl
index c47efd343..edbec07e4 100644
--- a/libclc/clc/lib/amdgpu/math/clc_half_recip.cl
+++ b/libclc/clc/lib/amdgpu/math/clc_half_recip.cl
@@ -7,7 +7,7 @@
 
//===----------------------------------------------------------------------===//
 
 #include <clc/math/clc_native_recip.h>
- 
+
 #define __CLC_FUNC recip
 #define __FLOAT_ONLY
 #define __CLC_BODY <clc_half_native_unary.inc>
diff --git a/libclc/clc/lib/amdgpu/math/clc_half_rsqrt.cl 
b/libclc/clc/lib/amdgpu/math/clc_half_rsqrt.cl
index c61968543..c0a5489ec 100644
--- a/libclc/clc/lib/amdgpu/math/clc_half_rsqrt.cl
+++ b/libclc/clc/lib/amdgpu/math/clc_half_rsqrt.cl
@@ -7,7 +7,7 @@
 
//===----------------------------------------------------------------------===//
 
 #include <clc/math/clc_native_rsqrt.h>
- 
+
 #define __CLC_FUNC rsqrt
 #define __FLOAT_ONLY
 #define __CLC_BODY <clc_half_native_unary.inc>
diff --git a/libclc/clc/lib/amdgpu/math/clc_half_sqrt.cl 
b/libclc/clc/lib/amdgpu/math/clc_half_sqrt.cl
index 11ceb4c21..4dc6fa31f 100644
--- a/libclc/clc/lib/amdgpu/math/clc_half_sqrt.cl
+++ b/libclc/clc/lib/amdgpu/math/clc_half_sqrt.cl
@@ -7,7 +7,7 @@
 
//===----------------------------------------------------------------------===//
 
 #include <clc/math/clc_native_sqrt.h>
- 
+
 #define __CLC_FUNC sqrt
 #define __FLOAT_ONLY
 #define __CLC_BODY <clc_half_native_unary.inc>

``````````

</details>


https://github.com/llvm/llvm-project/pull/139563
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to