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

Functions

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

Variables

 powr
 
auto x
 
auto auto y
 

Function Documentation

◆ BUILTIN_NATIVE_CUSTOM()

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

Variable Documentation

◆ powr

sycl::_V1::native::powr

Definition at line 33 of file native_math_functions.cpp.

◆ x

auto sycl::_V1::native::x

Definition at line 33 of file native_math_functions.cpp.

Referenced by BUILTIN_NATIVE_CUSTOM().

◆ y

auto auto sycl::_V1::native::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 native_math_functions.cpp.