math_fp_half_precision.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::half_precision | |
Macros | |
#define | COMPUTECPP_DETAIL_NAMESPACE abacus |
Functions | |
template<typename F , typename return_t = detail::collapse_swizzled_vec_t<F>, COMPUTECPP_REQUIRES(detail::builtin::is_genfloatf< F >::value) > | |
return_t | cl::sycl::half_precision::cos (const F x) noexcept |
Compute cosine over an implementation-defined range. More... | |
template<typename F , COMPUTECPP_REQUIRES(detail::builtin::is_genfloatf< F >::value) > | |
F | cl::sycl::half_precision::divide (F x, F y) noexcept |
Compute x / y over an implementation-defined range. 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::half_precision::exp (const F x) noexcept |
Compute the base- e exponential of x over an implementation-defined range. 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::half_precision::exp2 (const F x) noexcept |
Compute the base- 2 exponential of x over an implementation-defined range. 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::half_precision::exp10 (const F x) noexcept |
Compute the base 10 exponential of x over an implementation-defined range. 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::half_precision::log (const F x) noexcept |
Compute natural logarithm over an implementation defined range. 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::half_precision::log2 (const F x) noexcept |
Compute a base 2 logarithm over an implementation-defined range. 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::half_precision::log10 (const F x) noexcept |
Compute a base 10 logarithm over an implementation-defined range. More... | |
template<typename F , COMPUTECPP_REQUIRES(detail::builtin::is_genfloatf< F >::value) > | |
F | cl::sycl::half_precision::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::half_precision::recip (const F x) noexcept |
Compute reciprocal over an implementation-defined range. 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::half_precision::rsqrt (const F x) noexcept |
Compute inverse square root over an implementation-defined range. 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::half_precision::sin (const F x) noexcept |
Compute sine over an implementation-defined range. 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::half_precision::sqrt (const F x) noexcept |
Compute square root over an implementation-defined range. 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::half_precision::tan (const F x) noexcept |
Compute tangent over an implementation-defined range. More... | |
Macro Definition Documentation
◆ COMPUTECPP_DETAIL_NAMESPACE
#define COMPUTECPP_DETAIL_NAMESPACE abacus |
Definition at line 26 of file math_fp_half_precision.h.