@@ -137,23 +137,6 @@ __device__ __attribute__((const)) float __ocml_fma_rte_f32(float, float, float);
137
137
__device__ __attribute__((const )) float __ocml_fma_rtn_f32 (float , float , float );
138
138
__device__ __attribute__((const )) float __ocml_fma_rtp_f32 (float , float , float );
139
139
__device__ __attribute__((const )) float __ocml_fma_rtz_f32 (float , float , float );
140
-
141
- __device__ inline __attribute__((const )) float
142
- __llvm_amdgcn_cos_f32 (float __x ) {
143
- return __builtin_amdgcn_cosf (__x );
144
- }
145
- __device__ inline __attribute__((const )) float
146
- __llvm_amdgcn_rcp_f32 (float __x ) {
147
- return __builtin_amdgcn_rcpf (__x );
148
- }
149
- __device__ inline __attribute__((const )) float
150
- __llvm_amdgcn_rsq_f32 (float __x ) {
151
- return __builtin_amdgcn_rsqf (__x );
152
- }
153
- __device__ inline __attribute__((const )) float
154
- __llvm_amdgcn_sin_f32 (float __x ) {
155
- return __builtin_amdgcn_sinf (__x );
156
- }
157
140
// END INTRINSICS
158
141
// END FLOAT
159
142
@@ -277,15 +260,6 @@ __device__ __attribute__((const)) double __ocml_fma_rtp_f64(double, double,
277
260
__device__ __attribute__((const )) double __ocml_fma_rtz_f64 (double , double ,
278
261
double );
279
262
280
- __device__ inline __attribute__((const )) double
281
- __llvm_amdgcn_rcp_f64 (double __x ) {
282
- return __builtin_amdgcn_rcp (__x );
283
- }
284
- __device__ inline __attribute__((const )) double
285
- __llvm_amdgcn_rsq_f64 (double __x ) {
286
- return __builtin_amdgcn_rsq (__x );
287
- }
288
-
289
263
__device__ __attribute__((const )) _Float16 __ocml_ceil_f16 (_Float16 );
290
264
__device__ _Float16 __ocml_cos_f16 (_Float16 );
291
265
__device__ __attribute__((const )) _Float16 __ocml_cvtrtn_f16_f32 (float );
@@ -305,7 +279,6 @@ __device__ __attribute__((const)) int __ocml_isnan_f16(_Float16);
305
279
__device__ __attribute__((pure )) _Float16 __ocml_log_f16 (_Float16 );
306
280
__device__ __attribute__((pure )) _Float16 __ocml_log10_f16 (_Float16 );
307
281
__device__ __attribute__((pure )) _Float16 __ocml_log2_f16 (_Float16 );
308
- __device__ __attribute__((const )) _Float16 __llvm_amdgcn_rcp_f16 (_Float16 );
309
282
__device__ __attribute__((const )) _Float16 __ocml_rint_f16 (_Float16 );
310
283
__device__ __attribute__((const )) _Float16 __ocml_rsqrt_f16 (_Float16 );
311
284
__device__ _Float16 __ocml_sin_f16 (_Float16 );
@@ -332,11 +305,6 @@ __device__ __attribute__((const)) __2i16 __ocml_isnan_2f16(__2f16);
332
305
__device__ __attribute__((pure )) __2f16 __ocml_log_2f16 (__2f16 );
333
306
__device__ __attribute__((pure )) __2f16 __ocml_log10_2f16 (__2f16 );
334
307
__device__ __attribute__((pure )) __2f16 __ocml_log2_2f16 (__2f16 );
335
- __device__ inline __2f16
336
- __llvm_amdgcn_rcp_2f16 (__2f16 __x ) // Not currently exposed by ROCDL.
337
- {
338
- return (__2f16 )(__llvm_amdgcn_rcp_f16 (__x .x ), __llvm_amdgcn_rcp_f16 (__x .y ));
339
- }
340
308
__device__ __attribute__((const )) __2f16 __ocml_rint_2f16 (__2f16 );
341
309
__device__ __attribute__((const )) __2f16 __ocml_rsqrt_2f16 (__2f16 );
342
310
__device__ __2f16 __ocml_sin_2f16 (__2f16 );
0 commit comments