[clang] clang/HIP: Remove some unused ocml function declarations (PR #128022)

via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 20 08:12:20 PST 2025


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 1c4e9863fa1cba6d28be92026e0912808b01780d c6c75b5d7a9a1869bfcdc413a98b00fe4b9f07d1 --extensions h -- clang/lib/Headers/__clang_hip_libdevice_declares.h clang/lib/Headers/__clang_hip_math.h
``````````

</details>

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

``````````diff
diff --git a/clang/lib/Headers/__clang_hip_math.h b/clang/lib/Headers/__clang_hip_math.h
index 79cb790685..a2810e9c89 100644
--- a/clang/lib/Headers/__clang_hip_math.h
+++ b/clang/lib/Headers/__clang_hip_math.h
@@ -726,7 +726,6 @@ float ynf(int __n, float __x) { // TODO: we could use Ahmes multiplication
   return __x1;
 }
 
-
 __DEVICE__
 float __cosf(float __x) { return __ocml_native_cos_f32(__x); }
 

``````````

</details>


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


More information about the cfe-commits mailing list