math_fp_native.h File Reference
#include "SYCL/builtins/math_symbols.h"
#include "SYCL/cpp_to_cl_cast.h"
#include "SYCL/gen_type_traits.h"
#include "SYCL/type_traits.h"
Go to the source code of this file.
Namespaces | |
cl | |
deduce_type_t takes an arbitrary type and attempts to map it to a cl::sycl::cl_type . | |
cl::sycl | |
cl::sycl::native | |
Macros | |
#define | COMPUTECPP_DETAIL_NAMESPACE abacus |
Functions | |
template<typename F , COMPUTECPP_REQUIRES(detail::builtin::is_genfloatf< F >::value) > | |
F | cl::sycl::native::cos (F x) noexcept |
Compute cosine. More... | |
template<typename F , COMPUTECPP_REQUIRES(detail::builtin::is_genfloatf< F >::value) > | |
F | cl::sycl::native::divide (F x, F y) noexcept |
Compute x / y. More... | |
template<typename F , typename return_t = detail::collapse_swizzled_vec_t<F>, COMPUTECPP_REQUIRES(detail::builtin::is_genfloatf< F >::value) > | |
return_t | cl::sycl::native::exp (const F x) noexcept |
Compute the base-e exponential of x. More... | |
template<typename F , typename return_t = detail::collapse_swizzled_vec_t<F>, COMPUTECPP_REQUIRES(detail::builtin::is_genfloatf< F >::value) > | |
return_t | cl::sycl::native::exp2 (const F x) noexcept |
Compute the base-2 exponential of x. More... | |
template<typename F , typename return_t = detail::collapse_swizzled_vec_t<F>, COMPUTECPP_REQUIRES(detail::builtin::is_genfloatf< F >::value) > | |
return_t | cl::sycl::native::exp10 (const F x) noexcept |
Compute the base-10 exponential of x. More... | |
template<typename F , typename return_t = detail::collapse_swizzled_vec_t<F>, COMPUTECPP_REQUIRES(detail::builtin::is_genfloatf< F >::value) > | |
return_t | cl::sycl::native::log (const F x) noexcept |
Compute natural logarithm. More... | |
template<typename F , typename return_t = detail::collapse_swizzled_vec_t<F>, COMPUTECPP_REQUIRES(detail::builtin::is_genfloatf< F >::value) > | |
return_t | cl::sycl::native::log2 (const F x) noexcept |
Compute a base 2 logarithm. More... | |
template<typename F , typename return_t = detail::collapse_swizzled_vec_t<F>, COMPUTECPP_REQUIRES(detail::builtin::is_genfloatf< F >::value) > | |
return_t | cl::sycl::native::log10 (const F x) noexcept |
Compute a base 10 logarithm. More... | |
template<typename F , COMPUTECPP_REQUIRES(detail::builtin::is_genfloatf< F >::value) > | |
F | cl::sycl::native::powr (F x, F y) noexcept |
Compute x to the power y, where x >= 0. More... | |
template<typename F , typename return_t = detail::collapse_swizzled_vec_t<F>, COMPUTECPP_REQUIRES(detail::builtin::is_genfloatf< F >::value) > | |
return_t | cl::sycl::native::recip (const F x) noexcept |
Compute reciprocal. More... | |
template<typename F , typename return_t = detail::collapse_swizzled_vec_t<F>, COMPUTECPP_REQUIRES(detail::builtin::is_genfloatf< F >::value) > | |
return_t | cl::sycl::native::rsqrt (const F x) noexcept |
Compute inverse square root. More... | |
template<typename F , COMPUTECPP_REQUIRES(detail::builtin::is_genfloatf< F >::value) > | |
F | cl::sycl::native::sin (F x) noexcept |
Compute sine. More... | |
template<typename F , typename return_t = detail::collapse_swizzled_vec_t<F>, COMPUTECPP_REQUIRES(detail::builtin::is_genfloatf< F >::value) > | |
return_t | cl::sycl::native::sqrt (const F x) noexcept |
Compute square root. More... | |
template<typename F , COMPUTECPP_REQUIRES(detail::builtin::is_genfloatf< F >::value) > | |
F | cl::sycl::native::tan (F x) noexcept |
Compute tangent. More... | |
Macro Definition Documentation
◆ COMPUTECPP_DETAIL_NAMESPACE
#define COMPUTECPP_DETAIL_NAMESPACE abacus |
Definition at line 26 of file math_fp_native.h.