Visible to Intel only — GUID: GUID-559A5A42-A793-492B-BB74-4EA80F7DB82D
Visible to Intel only — GUID: GUID-559A5A42-A793-492B-BB74-4EA80F7DB82D
Type Casting Functions for bfloat16 Type
bfloat162float
Description: Converts a bfloat16 value to float.
Calling Interface:
float bfloat162float(sycl::ext::oneapi::bfloat16)
bfloat162int_rd
Description: Converts a bfloat16 value to a signed int using round-down mode.
Calling Interface:
int bfloat162int_rd(sycl::ext::oneapi::bfloat16)
bfloat162int_rn
Description: Converts a bfloat16 value to a signed int using round-to-nearest-even mode.
Calling Interface:
int bfloat162int_rn(sycl::ext::oneapi::bfloat16)
bfloat162int_ru
Description: Converts a bfloat16 value to a signed int using round-up mode.
Calling Interface:
int bfloat162int_ru(sycl::ext::oneapi::bfloat16)
bfloat162int_rz
Description: Converts a bfloat16 value to a signed int using round-towards-zero mode.
Calling Interface:
int bfloat162int_rz(sycl::ext::oneapi::bfloat16)
bfloat162ll_rd
Description: Converts a bfloat16 value to a signed 64-bit int using round-down mode.
Calling Interface:
long long bfloat162ll_rd(sycl::ext::oneapi::bfloat16)
bfloat162ll_rn
Description: Converts a bfloat16 value to a signed 64-bit int using round-to-nearest-even mode.
Calling Interface:
long long bfloat162ll_rn(sycl::ext::oneapi::bfloat16)
bfloat162ll_ru
Description: Converts a bfloat16 value to a signed 64-bit int using round-up mode.
Calling Interface:
long long bfloat162ll_ru(sycl::ext::oneapi::bfloat16)
bfloat162ll_rz
Description: Converts a bfloat16 value to a signed 64-bit int using round-towards-zero mode.
Calling Interface:
long long bfloat162ll_rz(sycl::ext::oneapi::bfloat16)
bfloat162short_rd
Description: Converts a bfloat16 value to a signed short int using round-down mode.
Calling Interface:
short bfloat162short_rd(sycl::ext::oneapi::bfloat16)
bfloat162short_rn
Description: Converts a bfloat16 value to a signed short int using round-to-nearest-even mode.
Calling Interface:
short bfloat162short_rn(sycl::ext::oneapi::bfloat16)
bfloat162short_ru
Description: Converts a bfloat16 value to a signed short int using round-up mode.
Calling Interface:
short bfloat162short_ru(sycl::ext::oneapi::bfloat16)
bfloat162short_rz
Description: Converts a bfloat16 value to a signed short int using round-towards-zero mode.
Calling Interface:
short bfloat162short_rz(sycl::ext::oneapi::bfloat16)
bfloat162uint_rd
Description: Converts a bfloat16 value to an unsigned int using round-down mode.
Calling Interface:
unsigned int bfloat162uint_rd(sycl::ext::oneapi::bfloat16)
bfloat162uint_rn
Description: Converts a bfloat16 value to an unsigned int using round-to-nearest-even mode.
Calling Interface:
unsigned int bfloat162uint_rn(sycl::ext::oneapi::bfloat16)
bfloat162uint_ru
Description: Converts a bfloat16 value to an unsigned int using round-up mode.
Calling Interface:
unsigned int bfloat162uint_ru(sycl::ext::oneapi::bfloat16)
bfloat162uint_rz
Description: Converts a bfloat16 value to an unsigned int using round-towards-zero mode.
Calling Interface:
unsigned int bfloat162uint_rz(sycl::ext::oneapi::bfloat16)
bfloat162ull_rd
Description: Converts a bfloat16 value to an unsigned 64-bit int using round-down mode.
Calling Interface:
unsigned long long bfloat162ull_rd(sycl::ext::oneapi::bfloat16)
bfloat162ull_rn
Description: Converts a bfloat16 value to an unsigned 64-bit int using round-to-nearest-even mode.
Calling Interface:
unsigned long long bfloat162ull_rn(sycl::ext::oneapi::bfloat16)
bfloat162ull_ru
Description: Converts a bfloat16 value to an unsigned 64-bit int using round-up mode.
Calling Interface:
unsigned long long bfloat162ull_ru(sycl::ext::oneapi::bfloat16)
bfloat162ull_rz
Description: Converts a bfloat16 value to an unsigned 64-bit int using round-towards-zero mode.
Calling Interface:
unsigned long long bfloat162ull_rz(sycl::ext::oneapi::bfloat16)
bfloat162ushort_rd
Description: Converts a bfloat16 value to an unsigned short int using round-down mode.
Calling Interface:
unsigned short bfloat162ushort_rd(sycl::ext::oneapi::bfloat16)
bfloat162ushort_rn
Description: Converts a bfloat16 value to an unsigned short int using round-to-nearest-even mode.
Calling Interface:
unsigned short bfloat162ushort_rn(sycl::ext::oneapi::bfloat16)
bfloat162ushort_ru
Description: Converts a bfloat16 value to an unsigned short int using round-up mode.
Calling Interface:
unsigned short bfloat162ushort_ru(sycl::ext::oneapi::bfloat16)
bfloat162ushort_rz
Description: Converts a bfloat16 value to an unsigned short int using round-towards-zero mode.
Calling Interface:
unsigned short bfloat162ushort_rz(sycl::ext::oneapi::bfloat16)
double2bfloat16
Description: Converts a double value to bfloat16 using round-to-nearest-even mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 double2bfloat16(double x)
float2bfloat16
Description: Converts a float value to bfloat16 using round-to-nearest-even mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 float2bfloat16(float x)
float2bfloat16_rd
Description: Converts a float value to bfloat16 using round-down mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 float2bfloat16_rd(float x)
float2bfloat16_rn
Description: Converts a float value to bfloat16 using round-to-nearest-even mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 float2bfloat16_rn(float x)
float2bfloat16_ru
Description: Converts a float value to bfloat16 using round-up mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 float2bfloat16_ru(float x)
float2bfloat16_rz
Description: Converts a float value to bfloat16 using round-towards-zero mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 float2bfloat16_rz(float x)
int2bfloat16_rd
Description: Converts a signed int to bfloat16 using round-down mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 int2bfloat16_rd(int x)
int2bfloat16_rn
Description: Converts a signed int to bfloat16 using round-to-nearest-even mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 int2bfloat16_rn(int x)
int2bfloat16_ru
Description: Converts a signed int to bfloat16 using round-up mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 int2bfloat16_ru(int x)
int2bfloat16_rz
Description: Converts a signed int to bfloat16 using round-towards-zero mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 int2bfloat16_rz(int x)
ll2bfloat16_rd
Description: Converts a signed 64-bit int to bfloat16 using round-down mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 ll2bfloat16_rd(long long x)
ll2bfloat16_rn
Description: Converts a signed 64-bit int to bfloat16 using round-to-nearest-even mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 ll2bfloat16_rn(long long x)
ll2bfloat16_ru
Description: Converts a signed 64-bit int to bfloat16 using round-up mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 ll2bfloat16_ru(long long x)
ll2bfloat16_rz
Description: Converts a signed 64-bit int to bfloat16 using round-towards-zero mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 ll2bfloat16_rz(long long x)
short2bfloat16_rd
Description: Converts a signed short int to bfloat16 using round-down mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 short2bfloat16_rd(short x)
short2bfloat16_rn
Description: Converts a signed short int to bfloat16 using round-to-nearest-even mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 short2bfloat16_rn(short x)
short2bfloat16_ru
Description: Converts a signed short int to bfloat16 using round-up mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 short2bfloat16_ru(short x)
short2bfloat16_rz
Description: Converts a signed short int to bfloat16 using round-towards-zero mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 short2bfloat16_rz(short x)
uint2bfloat16_rd
Description: Converts an unsigned int to bfloat16 using round-down mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 uint2bfloat16_rd(unsigned int x)
uint2bfloat16_rn
Description: Converts an unsigned int to bfloat16 using round-to-nearest-even mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 uint2bfloat16_rn(unsigned int x)
uint2bfloat16_ru
Description: Converts an unsigned int to bfloat16 using round-up mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 uint2bfloat16_ru(unsigned int x)
uint2bfloat16_rz
Description: Converts an unsigned int to bfloat16 using round-towards-zero mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 uint2bfloat16_rz(unsigned int x)
ull2bfloat16_rd
Description: Converts an unsigned 64-bit int to bfloat16 using round-down mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 ull2bfloat16_rd(unsigned long long x)
ull2bfloat16_rn
Description: Converts an unsigned 64-bit int to bfloat16 using round-to-nearest-even mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 ull2bfloat16_rn(unsigned long long x)
ull2bfloat16_ru
Description: Converts an unsigned 64-bit int to bfloat16 using round-up mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 ull2bfloat16_ru(unsigned long long x)
ull2bfloat16_rz
Description: Converts an unsigned 64-bit int to bfloat16 using round-towards-zero mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 ull2bfloat16_rz(unsigned long long x)
ushort2bfloat16_rd
Description: Converts an unsigned short int to bfloat16 using round-down mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 ushort2bfloat16_rd(unsigned short x)
ushort2bfloat16_rn
Description: Converts an unsigned short int to bfloat16 using round-to-nearest-even mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 ushort2bfloat16_rn(unsigned short x)
ushort2bfloat16_ru
Description: Converts an unsigned short int to bfloat16 using round-up mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 ushort2bfloat16_ru(unsigned short x)
ushort2bfloat16_rz
Description: Converts an unsigned short int to bfloat16 using round-towards-zero mode.
Calling Interface:
sycl::ext::oneapi::bfloat16 ushort2bfloat16_rz(unsigned short x)
bfloat16_as_ushort
Description: Interprets 16 bits of a bfloat16 value as an unsigned short.
Calling Interface:
unsigned short bfloat16_as_ushort(sycl::ext::oneapi::bfloat16 x)
bfloat16_as_short
Description: Interprets 16 bits of a bfloat16 value as a signed short.
Calling Interface:
short bfloat16_as_short(sycl::ext::oneapi::bfloat16 x)
short_as_bfloat16
Description: Interprets 16 bits of a short value as bfloat16.
Calling Interface:
sycl::ext::oneapi::bfloat16 short_as_bfloat16(short x)
ushort_as_bfloat16
Description: Interprets 16 bits of an unsigned short value as bfloat16.
Calling Interface:
sycl::ext::oneapi::bfloat16 ushort_as_bfloat16(unsigned short x)