26#if defined(__cplusplus)
35 HIP_vector_base<
short, 2>::Native_vec_,
36 HIP_vector_base<
short, 2>::Native_vec_,
41unsigned int __ockl_udot2(
42 HIP_vector_base<
unsigned short, 2>::Native_vec_,
43 HIP_vector_base<
unsigned short, 2>::Native_vec_,
49 HIP_vector_base<
char, 4>::Native_vec_,
50 HIP_vector_base<
char, 4>::Native_vec_,
55unsigned int __ockl_udot4(
56 HIP_vector_base<
unsigned char, 4>::Native_vec_,
57 HIP_vector_base<
unsigned char, 4>::Native_vec_,
62int __ockl_sdot8(
int,
int,
int,
bool);
66unsigned int __ockl_udot8(
unsigned int,
unsigned int,
unsigned int,
bool);
69#if !__CLANG_HIP_RUNTIME_WRAPPER_INCLUDED__
73float __ocml_acos_f32(
float);
76float __ocml_acosh_f32(
float);
79float __ocml_asin_f32(
float);
82float __ocml_asinh_f32(
float);
85float __ocml_atan2_f32(
float,
float);
88float __ocml_atan_f32(
float);
91float __ocml_atanh_f32(
float);
94float __ocml_cbrt_f32(
float);
97float __ocml_ceil_f32(
float);
101float __ocml_copysign_f32(
float,
float);
103float __ocml_cos_f32(
float);
105float __ocml_native_cos_f32(
float);
109float __ocml_cosh_f32(
float);
111float __ocml_cospi_f32(
float);
113float __ocml_i0_f32(
float);
115float __ocml_i1_f32(
float);
118float __ocml_erfc_f32(
float);
121float __ocml_erfcinv_f32(
float);
124float __ocml_erfcx_f32(
float);
127float __ocml_erf_f32(
float);
130float __ocml_erfinv_f32(
float);
133float __ocml_exp10_f32(
float);
136float __ocml_native_exp10_f32(
float);
139float __ocml_exp2_f32(
float);
142float __ocml_exp_f32(
float);
145float __ocml_native_exp_f32(
float);
148float __ocml_expm1_f32(
float);
150__attribute__((const))
151float __ocml_fabs_f32(
float);
153__attribute__((const))
154float __ocml_fdim_f32(
float,
float);
156__attribute__((const))
157float __ocml_floor_f32(
float);
159__attribute__((const))
160float __ocml_fma_f32(
float,
float,
float);
162__attribute__((const))
163float __ocml_fmax_f32(
float,
float);
165__attribute__((const))
166float __ocml_fmin_f32(
float,
float);
168__attribute__((const))
170float __ocml_fmod_f32(
float,
float);
172float __ocml_frexp_f32(
float, __attribute__((address_space(5)))
int*);
174__attribute__((const))
175float __ocml_hypot_f32(
float,
float);
177__attribute__((const))
178int __ocml_ilogb_f32(
float);
180__attribute__((const))
181int __ocml_isfinite_f32(
float);
183__attribute__((const))
184int __ocml_isinf_f32(
float);
186__attribute__((const))
187int __ocml_isnan_f32(
float);
189float __ocml_j0_f32(
float);
191float __ocml_j1_f32(
float);
193__attribute__((const))
194float __ocml_ldexp_f32(
float,
int);
196float __ocml_lgamma_f32(
float);
199float __ocml_log10_f32(
float);
202float __ocml_native_log10_f32(
float);
205float __ocml_log1p_f32(
float);
208float __ocml_log2_f32(
float);
211float __ocml_native_log2_f32(
float);
213__attribute__((const))
214float __ocml_logb_f32(
float);
217float __ocml_log_f32(
float);
220float __ocml_native_log_f32(
float);
222float __ocml_modf_f32(
float, __attribute__((address_space(5)))
float*);
224__attribute__((const))
225float __ocml_nearbyint_f32(
float);
227__attribute__((const))
228float __ocml_nextafter_f32(
float,
float);
230__attribute__((const))
231float __ocml_len3_f32(
float,
float,
float);
233__attribute__((const))
234float __ocml_len4_f32(
float,
float,
float,
float);
237float __ocml_ncdf_f32(
float);
240float __ocml_ncdfinv_f32(
float);
243float __ocml_pow_f32(
float,
float);
246float __ocml_pown_f32(
float,
int);
249float __ocml_rcbrt_f32(
float);
251__attribute__((const))
252float __ocml_remainder_f32(
float,
float);
254float __ocml_remquo_f32(
float,
float, __attribute__((address_space(5)))
int*);
256__attribute__((const))
257float __ocml_rhypot_f32(
float,
float);
259__attribute__((const))
260float __ocml_rint_f32(
float);
262__attribute__((const))
263float __ocml_rlen3_f32(
float,
float,
float);
265__attribute__((const))
266float __ocml_rlen4_f32(
float,
float,
float,
float);
268__attribute__((const))
269float __ocml_round_f32(
float);
272float __ocml_rsqrt_f32(
float);
274__attribute__((const))
275float __ocml_scalb_f32(
float,
float);
277__attribute__((const))
278float __ocml_scalbn_f32(
float,
int);
280__attribute__((const))
281int __ocml_signbit_f32(
float);
283float __ocml_sincos_f32(
float, __attribute__((address_space(5)))
float*);
285float __ocml_sincospi_f32(
float, __attribute__((address_space(5)))
float*);
287float __ocml_sin_f32(
float);
289float __ocml_native_sin_f32(
float);
292float __ocml_sinh_f32(
float);
294float __ocml_sinpi_f32(
float);
296__attribute__((const))
297float __ocml_sqrt_f32(
float);
299__attribute__((const))
300float __ocml_native_sqrt_f32(
float);
302float __ocml_tan_f32(
float);
305float __ocml_tanh_f32(
float);
307float __ocml_tgamma_f32(
float);
309__attribute__((const))
310float __ocml_trunc_f32(
float);
312float __ocml_y0_f32(
float);
314float __ocml_y1_f32(
float);
318__attribute__((const))
319float __ocml_add_rte_f32(
float,
float);
321__attribute__((const))
322float __ocml_add_rtn_f32(
float,
float);
324__attribute__((const))
325float __ocml_add_rtp_f32(
float,
float);
327__attribute__((const))
328float __ocml_add_rtz_f32(
float,
float);
330__attribute__((const))
331float __ocml_sub_rte_f32(
float,
float);
333__attribute__((const))
334float __ocml_sub_rtn_f32(
float,
float);
336__attribute__((const))
337float __ocml_sub_rtp_f32(
float,
float);
339__attribute__((const))
340float __ocml_sub_rtz_f32(
float,
float);
342__attribute__((const))
343float __ocml_mul_rte_f32(
float,
float);
345__attribute__((const))
346float __ocml_mul_rtn_f32(
float,
float);
348__attribute__((const))
349float __ocml_mul_rtp_f32(
float,
float);
351__attribute__((const))
352float __ocml_mul_rtz_f32(
float,
float);
354__attribute__((const))
355float __ocml_div_rte_f32(
float,
float);
357__attribute__((const))
358float __ocml_div_rtn_f32(
float,
float);
360__attribute__((const))
361float __ocml_div_rtp_f32(
float,
float);
363__attribute__((const))
364float __ocml_div_rtz_f32(
float,
float);
366__attribute__((const))
367float __ocml_sqrt_rte_f32(
float);
369__attribute__((const))
370float __ocml_sqrt_rtn_f32(
float);
372__attribute__((const))
373float __ocml_sqrt_rtp_f32(
float);
375__attribute__((const))
376float __ocml_sqrt_rtz_f32(
float);
378__attribute__((const))
379float __ocml_fma_rte_f32(
float,
float,
float);
381__attribute__((const))
382float __ocml_fma_rtn_f32(
float,
float,
float);
384__attribute__((const))
385float __ocml_fma_rtp_f32(
float,
float,
float);
387__attribute__((const))
388float __ocml_fma_rtz_f32(
float,
float,
float);
394__attribute__((const))
395double __ocml_acos_f64(
double);
398double __ocml_acosh_f64(
double);
400__attribute__((const))
401double __ocml_asin_f64(
double);
404double __ocml_asinh_f64(
double);
406__attribute__((const))
407double __ocml_atan2_f64(
double,
double);
409__attribute__((const))
410double __ocml_atan_f64(
double);
413double __ocml_atanh_f64(
double);
416double __ocml_cbrt_f64(
double);
418__attribute__((const))
419double __ocml_ceil_f64(
double);
421__attribute__((const))
422double __ocml_copysign_f64(
double,
double);
424double __ocml_cos_f64(
double);
427double __ocml_cosh_f64(
double);
429double __ocml_cospi_f64(
double);
431double __ocml_i0_f64(
double);
433double __ocml_i1_f64(
double);
436double __ocml_erfc_f64(
double);
439double __ocml_erfcinv_f64(
double);
442double __ocml_erfcx_f64(
double);
445double __ocml_erf_f64(
double);
448double __ocml_erfinv_f64(
double);
451double __ocml_exp10_f64(
double);
454double __ocml_exp2_f64(
double);
457double __ocml_exp_f64(
double);
460double __ocml_expm1_f64(
double);
462__attribute__((const))
463double __ocml_fabs_f64(
double);
465__attribute__((const))
466double __ocml_fdim_f64(
double,
double);
468__attribute__((const))
469double __ocml_floor_f64(
double);
471__attribute__((const))
472double __ocml_fma_f64(
double,
double,
double);
474__attribute__((const))
475double __ocml_fmax_f64(
double,
double);
477__attribute__((const))
478double __ocml_fmin_f64(
double,
double);
480__attribute__((const))
481double __ocml_fmod_f64(
double,
double);
483double __ocml_frexp_f64(
double, __attribute__((address_space(5)))
int*);
485__attribute__((const))
486double __ocml_hypot_f64(
double,
double);
488__attribute__((const))
489int __ocml_ilogb_f64(
double);
491__attribute__((const))
492int __ocml_isfinite_f64(
double);
494__attribute__((const))
495int __ocml_isinf_f64(
double);
497__attribute__((const))
498int __ocml_isnan_f64(
double);
500double __ocml_j0_f64(
double);
502double __ocml_j1_f64(
double);
504__attribute__((const))
505double __ocml_ldexp_f64(
double,
int);
507double __ocml_lgamma_f64(
double);
510double __ocml_log10_f64(
double);
513double __ocml_log1p_f64(
double);
516double __ocml_log2_f64(
double);
518__attribute__((const))
519double __ocml_logb_f64(
double);
522double __ocml_log_f64(
double);
524double __ocml_modf_f64(
double, __attribute__((address_space(5)))
double*);
526__attribute__((const))
527double __ocml_nearbyint_f64(
double);
529__attribute__((const))
530double __ocml_nextafter_f64(
double,
double);
532__attribute__((const))
533double __ocml_len3_f64(
double,
double,
double);
535__attribute__((const))
536double __ocml_len4_f64(
double,
double,
double,
double);
539double __ocml_ncdf_f64(
double);
542double __ocml_ncdfinv_f64(
double);
545double __ocml_pow_f64(
double,
double);
548double __ocml_pown_f64(
double,
int);
551double __ocml_rcbrt_f64(
double);
553__attribute__((const))
554double __ocml_remainder_f64(
double,
double);
556double __ocml_remquo_f64(
557 double,
double, __attribute__((address_space(5)))
int*);
559__attribute__((const))
560double __ocml_rhypot_f64(
double,
double);
562__attribute__((const))
563double __ocml_rint_f64(
double);
565__attribute__((const))
566double __ocml_rlen3_f64(
double,
double,
double);
568__attribute__((const))
569double __ocml_rlen4_f64(
double,
double,
double,
double);
571__attribute__((const))
572double __ocml_round_f64(
double);
575double __ocml_rsqrt_f64(
double);
577__attribute__((const))
578double __ocml_scalb_f64(
double,
double);
580__attribute__((const))
581double __ocml_scalbn_f64(
double,
int);
583__attribute__((const))
584int __ocml_signbit_f64(
double);
586double __ocml_sincos_f64(
double, __attribute__((address_space(5)))
double*);
588double __ocml_sincospi_f64(
double, __attribute__((address_space(5)))
double*);
590double __ocml_sin_f64(
double);
593double __ocml_sinh_f64(
double);
595double __ocml_sinpi_f64(
double);
597__attribute__((const))
598double __ocml_sqrt_f64(
double);
600double __ocml_tan_f64(
double);
603double __ocml_tanh_f64(
double);
605double __ocml_tgamma_f64(
double);
607__attribute__((const))
608double __ocml_trunc_f64(
double);
610double __ocml_y0_f64(
double);
612double __ocml_y1_f64(
double);
616__attribute__((const))
617double __ocml_add_rte_f64(
double,
double);
619__attribute__((const))
620double __ocml_add_rtn_f64(
double,
double);
622__attribute__((const))
623double __ocml_add_rtp_f64(
double,
double);
625__attribute__((const))
626double __ocml_add_rtz_f64(
double,
double);
628__attribute__((const))
629double __ocml_sub_rte_f64(
double,
double);
631__attribute__((const))
632double __ocml_sub_rtn_f64(
double,
double);
634__attribute__((const))
635double __ocml_sub_rtp_f64(
double,
double);
637__attribute__((const))
638double __ocml_sub_rtz_f64(
double,
double);
640__attribute__((const))
641double __ocml_mul_rte_f64(
double,
double);
643__attribute__((const))
644double __ocml_mul_rtn_f64(
double,
double);
646__attribute__((const))
647double __ocml_mul_rtp_f64(
double,
double);
649__attribute__((const))
650double __ocml_mul_rtz_f64(
double,
double);
652__attribute__((const))
653double __ocml_div_rte_f64(
double,
double);
655__attribute__((const))
656double __ocml_div_rtn_f64(
double,
double);
658__attribute__((const))
659double __ocml_div_rtp_f64(
double,
double);
661__attribute__((const))
662double __ocml_div_rtz_f64(
double,
double);
664__attribute__((const))
665double __ocml_sqrt_rte_f64(
double);
667__attribute__((const))
668double __ocml_sqrt_rtn_f64(
double);
670__attribute__((const))
671double __ocml_sqrt_rtp_f64(
double);
673__attribute__((const))
674double __ocml_sqrt_rtz_f64(
double);
676__attribute__((const))
677double __ocml_fma_rte_f64(
double,
double,
double);
679__attribute__((const))
680double __ocml_fma_rtn_f64(
double,
double,
double);
682__attribute__((const))
683double __ocml_fma_rtp_f64(
double,
double,
double);
685__attribute__((const))
686double __ocml_fma_rtz_f64(
double,
double,
double);
692#if defined(__cplusplus)