From a495d1137e1b678286b065eb7e8f4d41662833e7 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Thu, 11 Dec 2025 11:53:11 +0100 Subject: [PATCH] SWDEV-548892 - Make declaration of __ockl_fdot2 always available (#2229) --- projects/clr/hipamd/include/hip/amd_detail/hip_fp16_math_fwd.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/projects/clr/hipamd/include/hip/amd_detail/hip_fp16_math_fwd.h b/projects/clr/hipamd/include/hip/amd_detail/hip_fp16_math_fwd.h index 46759c8a5a..6798ef5dbd 100644 --- a/projects/clr/hipamd/include/hip/amd_detail/hip_fp16_math_fwd.h +++ b/projects/clr/hipamd/include/hip/amd_detail/hip_fp16_math_fwd.h @@ -55,10 +55,7 @@ __device__ __attribute__((const)) _Float16 __ocml_fmin_f16(_Float16, _Float16); typedef _Float16 __2f16 __attribute__((ext_vector_type(2))); typedef short __2i16 __attribute__((ext_vector_type(2))); -#if defined(__clang__) && defined(__HIP__) __device__ __attribute__((const)) float __ockl_fdot2(__2f16 a, __2f16 b, float c, bool s); -#endif - __device__ __attribute__((const)) __2f16 __ocml_ceil_2f16(__2f16); __device__ __attribute__((const)) __2f16 __ocml_fabs_2f16(__2f16); __device__ __2f16 __ocml_cos_2f16(__2f16);