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 origin/main HEAD --extensions cl,inc -- 
libclc/clc/lib/generic/async/clc_prefetch.inc 
libclc/clc/lib/generic/math/clc_cosh.inc 
libclc/clc/lib/generic/math/clc_erfc.cl 
libclc/clc/lib/generic/math/clc_expm1.inc 
libclc/clc/lib/generic/math/clc_fmod.cl 
libclc/clc/lib/generic/math/clc_sincos_helpers_fp64.inc 
libclc/clc/lib/generic/workitem/clc_get_sub_group_id.cl 
libclc/clc/lib/ptx-nvidiacl/mem_fence/clc_mem_fence.cl 
libclc/clc/lib/ptx-nvidiacl/synchronization/clc_work_group_barrier.cl 
libclc/opencl/lib/generic/async/wait_group_events.cl --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

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

``````````diff
diff --git a/libclc/clc/lib/generic/math/clc_fmod.cl 
b/libclc/clc/lib/generic/math/clc_fmod.cl
index 2aeb0ae5b..d968d007e 100644
--- a/libclc/clc/lib/generic/math/clc_fmod.cl
+++ b/libclc/clc/lib/generic/math/clc_fmod.cl
@@ -130,7 +130,8 @@ _CLC_DEF _CLC_OVERLOAD double __clc_fmod(double x, double 
y) {
     w *= scale;
   }
 
-  // One more time: final iteration of the subtraction using floor instead of 
trunc
+  // One more time: final iteration of the subtraction using floor instead of
+  // trunc
   t = __clc_floor(dx / w);
 
   p = w * t;

``````````

</details>


https://github.com/llvm/llvm-project/pull/184549
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to