DPC++ Runtime
Runtime libraries for oneAPI DPC++
math.hpp File Reference
Include dependency graph for math.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 sycl
 
 sycl::_V1
 
 sycl::_V1::ext
 
 sycl::_V1::ext::intel
 
 sycl::_V1::ext::intel::math
 

Typedefs

using _iml_half_internal = uint16_t
 

Functions

float __imf_saturatef (float)
 
float __imf_copysignf (float, float)
 
double __imf_copysign (double, double)
 
_iml_half_internal __imf_copysignf16 (_iml_half_internal, _iml_half_internal)
 
float __imf_ceilf (float)
 
double __imf_ceil (double)
 
_iml_half_internal __imf_ceilf16 (_iml_half_internal)
 
float __imf_floorf (float)
 
double __imf_floor (double)
 
_iml_half_internal __imf_floorf16 (_iml_half_internal)
 
float __imf_rintf (float)
 
double __imf_rint (double)
 
_iml_half_internal __imf_invf16 (_iml_half_internal)
 
float __imf_invf (float)
 
double __imf_inv (double)
 
_iml_half_internal __imf_rintf16 (_iml_half_internal)
 
float __imf_sqrtf (float)
 
double __imf_sqrt (double)
 
_iml_half_internal __imf_sqrtf16 (_iml_half_internal)
 
float __imf_rsqrtf (float)
 
double __imf_rsqrt (double)
 
_iml_half_internal __imf_rsqrtf16 (_iml_half_internal)
 
float __imf_truncf (float)
 
double __imf_trunc (double)
 
_iml_half_internal __imf_truncf16 (_iml_half_internal)
 
double __imf_rcp64h (double)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, float >, float > sycl::_V1::ext::intel::math::saturate (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, float >, float > sycl::_V1::ext::intel::math::copysign (Tp x, Tp y)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, double >, double > sycl::_V1::ext::intel::math::copysign (Tp x, Tp y)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, sycl::half >, sycl::halfsycl::_V1::ext::intel::math::copysign (Tp x, Tp y)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, float >, float > sycl::_V1::ext::intel::math::ceil (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, double >, double > sycl::_V1::ext::intel::math::ceil (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, sycl::half >, sycl::halfsycl::_V1::ext::intel::math::ceil (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, sycl::half2 >, sycl::half2 > sycl::_V1::ext::intel::math::ceil (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, float >, float > sycl::_V1::ext::intel::math::floor (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, double >, double > sycl::_V1::ext::intel::math::floor (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, sycl::half >, sycl::halfsycl::_V1::ext::intel::math::floor (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, sycl::half2 >, sycl::half2 > sycl::_V1::ext::intel::math::floor (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, float >, float > sycl::_V1::ext::intel::math::inv (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, double >, double > sycl::_V1::ext::intel::math::inv (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, sycl::half >, sycl::halfsycl::_V1::ext::intel::math::inv (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, sycl::half2 >, sycl::half2 > sycl::_V1::ext::intel::math::inv (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, float >, float > sycl::_V1::ext::intel::math::rint (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, double >, double > sycl::_V1::ext::intel::math::rint (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, sycl::half >, sycl::halfsycl::_V1::ext::intel::math::rint (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, sycl::half2 >, sycl::half2 > sycl::_V1::ext::intel::math::rint (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, float >, float > sycl::_V1::ext::intel::math::sqrt (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, double >, double > sycl::_V1::ext::intel::math::sqrt (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, sycl::half >, sycl::halfsycl::_V1::ext::intel::math::sqrt (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, sycl::half2 >, sycl::half2 > sycl::_V1::ext::intel::math::sqrt (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, float >, float > sycl::_V1::ext::intel::math::rsqrt (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, double >, double > sycl::_V1::ext::intel::math::rsqrt (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, sycl::half >, sycl::halfsycl::_V1::ext::intel::math::rsqrt (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, sycl::half2 >, sycl::half2 > sycl::_V1::ext::intel::math::rsqrt (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, float >, float > sycl::_V1::ext::intel::math::trunc (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, double >, double > sycl::_V1::ext::intel::math::trunc (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, sycl::half >, sycl::halfsycl::_V1::ext::intel::math::trunc (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, sycl::half2 >, sycl::half2 > sycl::_V1::ext::intel::math::trunc (Tp x)
 
template<typename Tp >
std::enable_if_t< std::is_same_v< Tp, double >, double > sycl::_V1::ext::intel::math::rcp64h (Tp x)
 

Typedef Documentation

◆ _iml_half_internal

using _iml_half_internal = uint16_t

Definition at line 21 of file math.hpp.

Function Documentation

◆ __imf_ceil()

double __imf_ceil ( double  )

◆ __imf_ceilf()

float __imf_ceilf ( float  )

◆ __imf_ceilf16()

◆ __imf_copysign()

double __imf_copysign ( double  ,
double   
)

◆ __imf_copysignf()

float __imf_copysignf ( float  ,
float   
)

◆ __imf_copysignf16()

◆ __imf_floor()

double __imf_floor ( double  )

◆ __imf_floorf()

float __imf_floorf ( float  )

◆ __imf_floorf16()

◆ __imf_inv()

double __imf_inv ( double  )

◆ __imf_invf()

float __imf_invf ( float  )

◆ __imf_invf16()

◆ __imf_rcp64h()

double __imf_rcp64h ( double  )

◆ __imf_rint()

double __imf_rint ( double  )

◆ __imf_rintf()

float __imf_rintf ( float  )

◆ __imf_rintf16()

◆ __imf_rsqrt()

double __imf_rsqrt ( double  )

◆ __imf_rsqrtf()

float __imf_rsqrtf ( float  )

◆ __imf_rsqrtf16()

◆ __imf_saturatef()

float __imf_saturatef ( float  )

◆ __imf_sqrt()

double __imf_sqrt ( double  )

◆ __imf_sqrtf()

float __imf_sqrtf ( float  )

◆ __imf_sqrtf16()

◆ __imf_trunc()

double __imf_trunc ( double  )

◆ __imf_truncf()

float __imf_truncf ( float  )

◆ __imf_truncf16()