[clang] clang/HIP: Remove some unused ocml function declarations (PR #204735)
Yaxun Liu via cfe-commits
cfe-commits at lists.llvm.org
Sat Jun 20 10:17:06 PDT 2026
================
@@ -43,40 +40,17 @@ __device__ __attribute__((pure)) float __ocml_erfcinv_f32(float);
__device__ __attribute__((pure)) float __ocml_erfcx_f32(float);
----------------
yxsamliu wrote:
Have we checked downstream users before removing these declarations? `ROCm/rocm-libraries` currently calls several of the removed symbols directly, including `__ocml_exp_f32` in Composable Kernel, `__ocml_exp_f16` / `__ocml_log_f16` / `__ocml_sqrt_f16` in MIOpen, and `__ocml_logb_*` / `__ocml_scalb*` in rocThrust. I did not find local prototypes for these uses, so they appear to rely on this Clang header for the declarations.
https://github.com/llvm/llvm-project/pull/204735
More information about the cfe-commits
mailing list