DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::half_precision Namespace Reference

Functions

 BUILTIN_HALF_CUSTOM (ONE_ARG, exp10, [](auto x) { return std::pow(10.0f, x);}) BUILTIN_HALF_CUSTOM(TWO_ARGS
 

Variables

 powr
 
auto x
 
auto auto y
 

Function Documentation

◆ BUILTIN_HALF_CUSTOM()

sycl::_V1::half_precision::BUILTIN_HALF_CUSTOM ( ONE_ARG  ,
exp10  ,
[] (auto x) { return std::pow(10.0f, x);}   
)

Variable Documentation

◆ powr

sycl::_V1::half_precision::powr

Definition at line 33 of file half_precision_math_functions.cpp.

◆ x

auto sycl::_V1::half_precision::x

Definition at line 33 of file half_precision_math_functions.cpp.

Referenced by BUILTIN_HALF_CUSTOM().

◆ y

auto auto sycl::_V1::half_precision::y
Initial value:
{
return (x >= 0 ? std::pow(x, y) : x)
__ESIMD_API simd< T, N > pow(simd< T, N > src0, simd< U, N > src1, Sat sat={})
Power - calculates src0 in power of src1.
Definition: math.hpp:441

Definition at line 33 of file half_precision_math_functions.cpp.