174 inline namespace _V1 {
175 namespace ext::intel::math {
177 template <
typename To =
int,
typename From =
float> To
float2int_rd(From x) {
181 template <
typename To =
int,
typename From =
float> To
float2int_rn(From x) {
185 template <
typename To =
int,
typename From =
float> To
float2int_ru(From x) {
189 template <
typename To =
int,
typename From =
float> To
float2int_rz(From x) {
193 template <
typename To =
unsigned int,
typename From =
float>
198 template <
typename To =
unsigned int,
typename From =
float>
203 template <
typename To =
unsigned int,
typename From =
float>
208 template <
typename To =
unsigned int,
typename From =
float>
213 template <
typename To =
long long,
typename From =
float>
218 template <
typename To =
long long,
typename From =
float>
223 template <
typename To =
long long,
typename From =
float>
228 template <
typename To =
long long,
typename From =
float>
233 template <
typename To =
unsigned long long,
typename From =
float>
238 template <
typename To =
unsigned long long,
typename From =
float>
243 template <
typename To =
unsigned long long,
typename From =
float>
248 template <
typename To =
unsigned long long,
typename From =
float>
253 template <
typename To =
float,
typename From =
long long>
258 template <
typename To =
float,
typename From =
long long>
263 template <
typename To =
float,
typename From =
long long>
268 template <
typename To =
float,
typename From =
long long>
273 template <
typename To =
float,
typename From =
unsigned long long>
278 template <
typename To =
float,
typename From =
unsigned long long>
283 template <
typename To =
float,
typename From =
unsigned long long>
288 template <
typename To =
float,
typename From =
unsigned long long>
293 template <
typename To =
float,
typename From =
int> To
int2float_rd(From x) {
297 template <
typename To =
float,
typename From =
int> To
int2float_rn(From x) {
301 template <
typename To =
float,
typename From =
int> To
int2float_ru(From x) {
305 template <
typename To =
float,
typename From =
int> To
int2float_rz(From x) {
309 template <
typename To =
float,
typename From =
unsigned int>
314 template <
typename To =
float,
typename From =
unsigned int>
319 template <
typename To =
float,
typename From =
unsigned int>
324 template <
typename To =
float,
typename From =
unsigned int>
329 template <
typename To =
int,
typename From =
float> To
float_as_int(From x) {
333 template <
typename To =
unsigned int,
typename From =
float>
338 template <
typename To =
float,
typename From =
int> To
int_as_float(From x) {
342 template <
typename To =
float,
typename From =
unsigned int>
347 template <
typename To =
float,
typename From = sycl::half>
352 template <
typename To = sycl::half,
typename From =
float>
357 template <
typename To = sycl::half,
typename From =
float>
362 template <
typename To = sycl::half,
typename From =
float>
367 template <
typename To = sycl::half,
typename From =
float>
372 template <
typename To =
int,
typename From = sycl::half>
377 template <
typename To =
int,
typename From = sycl::half>
382 template <
typename To =
int,
typename From = sycl::half>
387 template <
typename To =
int,
typename From = sycl::half>
392 template <
typename To =
long long,
typename From = sycl::half>
397 template <
typename To =
long long,
typename From = sycl::half>
402 template <
typename To =
long long,
typename From = sycl::half>
407 template <
typename To =
long long,
typename From = sycl::half>
412 template <
typename To =
short,
typename From = sycl::half>
417 template <
typename To =
short,
typename From = sycl::half>
422 template <
typename To =
short,
typename From = sycl::half>
427 template <
typename To =
short,
typename From = sycl::half>
432 template <
typename To =
unsigned short,
typename From = sycl::half>
437 template <
typename To =
unsigned short,
typename From = sycl::half>
442 template <
typename To =
unsigned short,
typename From = sycl::half>
447 template <
typename To =
unsigned short,
typename From = sycl::half>
452 template <
typename To =
unsigned int,
typename From = sycl::half>
457 template <
typename To =
unsigned int,
typename From = sycl::half>
462 template <
typename To =
unsigned int,
typename From = sycl::half>
467 template <
typename To =
unsigned int,
typename From = sycl::half>
472 template <
typename To =
unsigned long long,
typename From = sycl::half>
477 template <
typename To =
unsigned long long,
typename From = sycl::half>
482 template <
typename To =
unsigned long long,
typename From = sycl::half>
487 template <
typename To =
unsigned long long,
typename From = sycl::half>
492 template <
typename To = sycl::half,
typename From =
int>
497 template <
typename To = sycl::half,
typename From =
int>
502 template <
typename To = sycl::half,
typename From =
int>
507 template <
typename To = sycl::half,
typename From =
int>
512 template <
typename To = sycl::half,
typename From =
short>
517 template <
typename To = sycl::half,
typename From =
short>
522 template <
typename To = sycl::half,
typename From =
short>
527 template <
typename To = sycl::half,
typename From =
short>
532 template <
typename To = sycl::half,
typename From =
long long>
537 template <
typename To = sycl::half,
typename From =
long long>
542 template <
typename To = sycl::half,
typename From =
long long>
547 template <
typename To = sycl::half,
typename From =
long long>
552 template <
typename To = sycl::half,
typename From =
unsigned short>
557 template <
typename To = sycl::half,
typename From =
unsigned short>
562 template <
typename To = sycl::half,
typename From =
unsigned short>
567 template <
typename To = sycl::half,
typename From =
unsigned short>
572 template <
typename To = sycl::half,
typename From =
unsigned int>
577 template <
typename To = sycl::half,
typename From =
unsigned int>
582 template <
typename To = sycl::half,
typename From =
unsigned int>
587 template <
typename To = sycl::half,
typename From =
unsigned int>
592 template <
typename To = sycl::half,
typename From =
unsigned long long>
597 template <
typename To = sycl::half,
typename From =
unsigned long long>
602 template <
typename To = sycl::half,
typename From =
unsigned long long>
607 template <
typename To = sycl::half,
typename From =
unsigned long long>
612 template <
typename To =
unsigned short,
618 template <
typename To =
short,
typename From = sycl::ext::oneapi::b
float16>
624 typename From =
unsigned short>
630 template <
typename To = sycl::ext::oneapi::b
float16,
typename From =
short>
636 template <
typename To =
float,
typename From = sycl::ext::oneapi::b
float16>
641 template <
typename To = sycl::ext::oneapi::b
float16,
typename From =
float>
647 template <
typename To = sycl::ext::oneapi::b
float16,
typename From =
float>
653 template <
typename To = sycl::ext::oneapi::b
float16,
typename From =
float>
659 template <
typename To = sycl::ext::oneapi::b
float16,
typename From =
float>
665 template <
typename To = sycl::ext::oneapi::b
float16,
typename From =
float>
672 typename From =
unsigned short>
679 typename From =
unsigned short>
686 typename From =
unsigned short>
693 typename From =
unsigned short>
700 typename From =
unsigned int>
707 typename From =
unsigned int>
714 typename From =
unsigned int>
721 typename From =
unsigned int>
728 typename From =
unsigned long long>
735 typename From =
unsigned long long>
742 typename From =
unsigned long long>
749 typename From =
unsigned long long>
755 template <
typename To = sycl::ext::oneapi::b
float16,
typename From =
short>
761 template <
typename To = sycl::ext::oneapi::b
float16,
typename From =
short>
767 template <
typename To = sycl::ext::oneapi::b
float16,
typename From =
short>
773 template <
typename To = sycl::ext::oneapi::b
float16,
typename From =
short>
779 template <
typename To = sycl::ext::oneapi::b
float16,
typename From =
int>
785 template <
typename To = sycl::ext::oneapi::b
float16,
typename From =
int>
791 template <
typename To = sycl::ext::oneapi::b
float16,
typename From =
int>
797 template <
typename To = sycl::ext::oneapi::b
float16,
typename From =
int>
803 template <
typename To = sycl::ext::oneapi::b
float16,
typename From =
long long>
809 template <
typename To = sycl::ext::oneapi::b
float16,
typename From =
long long>
815 template <
typename To = sycl::ext::oneapi::b
float16,
typename From =
long long>
821 template <
typename To = sycl::ext::oneapi::b
float16,
typename From =
long long>
827 template <
typename To = sycl::ext::oneapi::b
float16,
typename From =
double>
833 template <
typename To =
unsigned int,
839 template <
typename To =
unsigned int,
845 template <
typename To =
unsigned int,
851 template <
typename To =
unsigned int,
857 template <
typename To =
int,
typename From = sycl::ext::oneapi::b
float16>
862 template <
typename To =
int,
typename From = sycl::ext::oneapi::b
float16>
867 template <
typename To =
int,
typename From = sycl::ext::oneapi::b
float16>
872 template <
typename To =
int,
typename From = sycl::ext::oneapi::b
float16>
877 template <
typename To =
unsigned short,
883 template <
typename To =
unsigned short,
889 template <
typename To =
unsigned short,
895 template <
typename To =
unsigned short,
901 template <
typename To =
short,
typename From = sycl::ext::oneapi::b
float16>
906 template <
typename To =
short,
typename From = sycl::ext::oneapi::b
float16>
911 template <
typename To =
short,
typename From = sycl::ext::oneapi::b
float16>
916 template <
typename To =
short,
typename From = sycl::ext::oneapi::b
float16>
921 template <
typename To =
long long,
typename From = sycl::ext::oneapi::b
float16>
926 template <
typename To =
long long,
typename From = sycl::ext::oneapi::b
float16>
931 template <
typename To =
long long,
typename From = sycl::ext::oneapi::b
float16>
936 template <
typename To =
long long,
typename From = sycl::ext::oneapi::b
float16>
941 template <
typename To =
unsigned long long,
947 template <
typename To =
unsigned long long,
953 template <
typename To =
unsigned long long,
959 template <
typename To =
unsigned long long,
uint16_t _iml_half_internal
_iml_half_internal __imf_int2half_rn(int)
_iml_half_internal __imf_double2half(double)
float __imf_uint_as_float(unsigned int)
_iml_half_internal __imf_float2half_rd(float)
uint16_t __imf_short_as_bfloat16(short)
_iml_half_internal __imf_ull2half_ru(unsigned long long)
float __imf_ull2float_rn(unsigned long long int)
unsigned long long __imf_bfloat162ull_rz(uint16_t)
float __imf_ll2float_ru(long long int)
unsigned int __imf_half2uint_rz(_iml_half_internal)
float __imf_ull2float_rd(unsigned long long int)
unsigned short __imf_bfloat162ushort_rz(uint16_t)
uint16_t __imf_float2bfloat16_rd(float)
_iml_half_internal __imf_ushort_as_half(unsigned short)
_iml_half_internal __imf_ushort2half_rn(unsigned short)
unsigned short __imf_half2ushort_rn(_iml_half_internal)
uint16_t __imf_ull2bfloat16_rz(unsigned long long)
uint16_t __imf_ushort2bfloat16_rz(unsigned short)
short __imf_bfloat162short_rn(uint16_t)
uint16_t __imf_int2bfloat16_ru(int)
float __imf_int_as_float(int)
int __imf_float2int_rd(float)
uint16_t __imf_ushort2bfloat16_rn(unsigned short)
_iml_half_internal __imf_ushort2half_ru(unsigned short)
uint16_t __imf_ll2bfloat16_rd(long long)
unsigned int __imf_bfloat162uint_ru(uint16_t)
uint16_t __imf_float2bfloat16(float)
uint16_t __imf_short2bfloat16_rd(short)
unsigned long long __imf_bfloat162ull_rn(uint16_t)
float __imf_int2float_ru(int)
_iml_half_internal __imf_int2half_rz(int)
long long __imf_bfloat162ll_rz(uint16_t)
uint16_t __imf_int2bfloat16_rd(int)
uint16_t __imf_uint2bfloat16_rd(unsigned int)
long long __imf_half2ll_ru(_iml_half_internal)
uint16_t __imf_float2bfloat16_ru(float)
unsigned int __imf_half2uint_ru(_iml_half_internal)
int __imf_bfloat162int_ru(uint16_t)
short __imf_half2short_rn(_iml_half_internal)
_iml_half_internal __imf_uint2half_ru(unsigned int)
short __imf_half2short_ru(_iml_half_internal)
long long __imf_half2ll_rz(_iml_half_internal)
unsigned long long __imf_half2ull_ru(_iml_half_internal)
unsigned int __imf_bfloat162uint_rn(uint16_t)
_iml_half_internal __imf_ull2half_rn(unsigned long long)
unsigned int __imf_float2uint_rd(float)
unsigned short __imf_half2ushort_rd(_iml_half_internal)
long long __imf_bfloat162ll_rn(uint16_t)
float __imf_int2float_rz(int)
uint16_t __imf_ushort2bfloat16_ru(unsigned short)
int __imf_bfloat162int_rz(uint16_t)
unsigned long long __imf_bfloat162ull_ru(uint16_t)
float __imf_ll2float_rd(long long int)
_iml_half_internal __imf_ll2half_ru(long long)
long long __imf_half2ll_rn(_iml_half_internal)
unsigned short __imf_bfloat162ushort_rn(uint16_t)
short __imf_half_as_short(_iml_half_internal)
_iml_half_internal __imf_ushort2half_rd(unsigned short)
long long int __imf_float2ll_rn(float)
_iml_half_internal __imf_ull2half_rd(unsigned long long)
uint16_t __imf_float2bfloat16_rn(float)
uint16_t __imf_ll2bfloat16_rn(long long)
unsigned int __imf_float2uint_rn(float)
uint16_t __imf_ll2bfloat16_rz(long long)
int __imf_float2int_rn(float)
int __imf_bfloat162int_rd(uint16_t)
long long int __imf_float2ll_rz(float)
float __imf_ull2float_ru(unsigned long long int)
unsigned int __imf_float_as_uint(float)
unsigned short __imf_bfloat162ushort_ru(uint16_t)
unsigned int __imf_bfloat162uint_rd(uint16_t)
uint16_t __imf_int2bfloat16_rn(int)
int __imf_float_as_int(float)
uint16_t __imf_float2bfloat16_rz(float)
uint16_t __imf_ull2bfloat16_rd(unsigned long long)
_iml_half_internal __imf_float2half_rz(float)
short __imf_bfloat162short_ru(uint16_t)
_iml_half_internal __imf_ll2half_rz(long long)
uint16_t __imf_short2bfloat16_ru(short)
short __imf_half2short_rd(_iml_half_internal)
uint16_t __imf_int2bfloat16_rz(int)
float __imf_uint2float_ru(unsigned int)
uint16_t __imf_ull2bfloat16_ru(unsigned long long)
_iml_half_internal __imf_short2half_ru(short)
int __imf_float2int_ru(float)
_iml_half_internal __imf_int2half_rd(int)
float __imf_int2float_rd(int)
float __imf_bfloat162float(uint16_t)
_iml_half_internal __imf_short2half_rz(short)
float __imf_half2float(_iml_half_internal)
int __imf_bfloat162int_rn(uint16_t)
unsigned int __imf_half2uint_rn(_iml_half_internal)
uint16_t __imf_ull2bfloat16_rn(unsigned long long)
unsigned long long int __imf_float2ull_rd(float)
unsigned long long int __imf_float2ull_ru(float)
float __imf_int2float_rn(int)
float __imf_ll2float_rz(long long int)
_iml_half_internal __imf_uint2half_rd(unsigned int)
_iml_half_internal __imf_ull2half_rz(unsigned long long)
_iml_half_internal __imf_short2half_rd(short)
_iml_half_internal __imf_ll2half_rn(long long)
unsigned long long __imf_half2ull_rn(_iml_half_internal)
float __imf_uint2float_rn(unsigned int)
int __imf_float2int_rz(float)
_iml_half_internal __imf_uint2half_rn(unsigned int)
_iml_half_internal __imf_float2half_rn(float)
uint16_t __imf_double2bfloat16(double)
uint16_t __imf_ushort_as_bfloat16(unsigned short)
_iml_half_internal __imf_short2half_rn(short)
uint16_t __imf_uint2bfloat16_ru(unsigned int)
uint16_t __imf_short2bfloat16_rn(short)
long long __imf_bfloat162ll_ru(uint16_t)
_iml_half_internal __imf_uint2half_rz(unsigned int)
uint16_t __imf_ll2bfloat16_ru(long long)
float __imf_uint2float_rz(unsigned int)
short __imf_half2short_rz(_iml_half_internal)
float __imf_uint2float_rd(unsigned int)
unsigned int __imf_float2uint_ru(float)
short __imf_bfloat162short_rd(uint16_t)
int __imf_half2int_rd(_iml_half_internal)
unsigned int __imf_bfloat162uint_rz(uint16_t)
float __imf_ull2float_rz(unsigned long long int)
long long int __imf_float2ll_rd(float)
short __imf_bfloat16_as_short(uint16_t)
unsigned int __imf_half2uint_rd(_iml_half_internal)
long long __imf_half2ll_rd(_iml_half_internal)
unsigned short __imf_bfloat16_as_ushort(uint16_t)
unsigned long long __imf_half2ull_rz(_iml_half_internal)
unsigned long long __imf_half2ull_rd(_iml_half_internal)
float __imf_ll2float_rn(long long int)
int __imf_half2int_ru(_iml_half_internal)
unsigned long long int __imf_float2ull_rn(float)
unsigned long long int __imf_float2ull_rz(float)
long long __imf_bfloat162ll_rd(uint16_t)
uint16_t __imf_uint2bfloat16_rn(unsigned int)
unsigned short __imf_half2ushort_ru(_iml_half_internal)
int __imf_half2int_rz(_iml_half_internal)
_iml_half_internal __imf_int2half_ru(int)
_iml_half_internal __imf_short_as_half(short)
unsigned short __imf_half_as_ushort(_iml_half_internal)
long long int __imf_float2ll_ru(float)
unsigned short __imf_bfloat162ushort_rd(uint16_t)
unsigned short __imf_half2ushort_rz(_iml_half_internal)
uint16_t __imf_uint2bfloat16_rz(unsigned int)
uint16_t __imf_ushort2bfloat16_rd(unsigned short)
_iml_half_internal __imf_float2half_ru(float)
int __imf_half2int_rn(_iml_half_internal)
_iml_half_internal __imf_ll2half_rd(long long)
uint16_t __imf_short2bfloat16_rz(short)
_iml_half_internal __imf_ushort2half_rz(unsigned short)
unsigned int __imf_float2uint_rz(float)
short __imf_bfloat162short_rz(uint16_t)
unsigned long long __imf_bfloat162ull_rd(uint16_t)
To short2bfloat16_ru(From x)
To bfloat162uint_rd(From x)
To bfloat16_as_short(From x)
To ushort2half_ru(From x)
To ushort2half_rn(From x)
To half2ushort_rz(From x)
To ushort2bfloat16_rz(From x)
To ull2bfloat16_rd(From x)
To bfloat162short_rz(From x)
To ushort2half_rz(From x)
To bfloat16_as_ushort(From x)
To bfloat162ushort_ru(From x)
To bfloat162ushort_rn(From x)
To bfloat162uint_ru(From x)
To float2bfloat16_rn(From x)
To ll2bfloat16_rn(From x)
To half2ushort_rd(From x)
To ushort2bfloat16_ru(From x)
To int2bfloat16_rd(From x)
To uint2bfloat16_rz(From x)
To ull2bfloat16_rz(From x)
To bfloat162ushort_rz(From x)
To bfloat162int_ru(From x)
To bfloat162ull_rd(From x)
To bfloat162ll_ru(From x)
To ushort_as_bfloat16(From x)
To half2ushort_ru(From x)
To ll2bfloat16_ru(From x)
To short_as_bfloat16(From x)
To ushort2half_rd(From x)
To bfloat162ull_ru(From x)
To ushort2bfloat16_rd(From x)
To short2bfloat16_rd(From x)
To int2bfloat16_rn(From x)
To bfloat162int_rz(From x)
To uint2bfloat16_ru(From x)
To float2bfloat16(From x)
To float2bfloat16_ru(From x)
To int2bfloat16_ru(From x)
To double2bfloat16(From x)
To bfloat162short_ru(From x)
To bfloat162ll_rn(From x)
To bfloat162ull_rn(From x)
To bfloat162uint_rn(From x)
To ll2bfloat16_rz(From x)
To bfloat162ull_rz(From x)
To short2bfloat16_rn(From x)
To short2bfloat16_rz(From x)
To bfloat162float(From x)
To half2ushort_rn(From x)
To bfloat162ll_rd(From x)
To bfloat162int_rd(From x)
To bfloat162int_rn(From x)
To uint2bfloat16_rd(From x)
To ushort2bfloat16_rn(From x)
To bfloat162short_rd(From x)
To bfloat162short_rn(From x)
To ll2bfloat16_rd(From x)
To int2bfloat16_rz(From x)
To ull2bfloat16_rn(From x)
To float2bfloat16_rd(From x)
To uint2bfloat16_rn(From x)
To bfloat162ll_rz(From x)
To ull2bfloat16_ru(From x)
To float2bfloat16_rz(From x)
To bfloat162uint_rz(From x)
To bfloat162ushort_rd(From x)