math_relational.h File Reference
#include "SYCL/builtins/math_symbols.h"
#include "SYCL/cpp_to_cl_cast.h"
#include "SYCL/gen_type_traits.h"
#include "SYCL/meta.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 | |
Macros | |
#define | COMPUTECPP_DETAIL_NAMESPACE abacus::detail::relational |
Functions | |
template<typename F , COMPUTECPP_REQUIRES(detail::builtin::is_genfloat< F >::value) > | |
detail::matching_integral_t< F > | cl::sycl::isequal (F x, F y) noexcept |
Returns the component-wise compare of x == y . More... | |
template<typename F , COMPUTECPP_REQUIRES(detail::builtin::is_genfloat< F >::value) > | |
detail::matching_integral_t< F > | cl::sycl::isnotequal (F x, F y) noexcept |
Returns the component-wise compare of x != y . More... | |
template<typename F1 , typename F2 , typename F = detail::matching_integral_t<detail::common_return_t<F1, F2>>, COMPUTECPP_REQUIRES((detail::builtin::is_genfloat< F1 >::value && detail::builtin::is_genfloat< F2 >::value)) > | |
F | cl::sycl::isgreater (F1 x, F2 y) noexcept |
Returns the component-wise compare of x > y . More... | |
template<typename F , COMPUTECPP_REQUIRES(detail::builtin::is_genfloat< F >::value) > | |
detail::matching_integral_t< F > | cl::sycl::isgreaterequal (F x, F y) noexcept |
Returns the component-wise compare of x >= y . More... | |
template<typename F , COMPUTECPP_REQUIRES(detail::builtin::is_genfloat< F >::value) > | |
detail::matching_integral_t< F > | cl::sycl::isless (F x, F y) noexcept |
Returns the component-wise compare of x < y . More... | |
template<typename F , COMPUTECPP_REQUIRES(detail::builtin::is_genfloat< F >::value) > | |
detail::matching_integral_t< F > | cl::sycl::islessequal (F x, F y) noexcept |
Returns the component-wise compare of x <= y . More... | |
template<typename F , COMPUTECPP_REQUIRES(detail::builtin::is_genfloat< F >::value) > | |
detail::matching_integral_t< F > | cl::sycl::islessgreater (F x, F y) noexcept |
Returns the component-wise compare of (x < y) || (x > y) . More... | |
template<typename F , COMPUTECPP_REQUIRES(detail::builtin::is_genfloat< F >::value) > | |
detail::matching_integral_t< F > | cl::sycl::isfinite (F x) noexcept |
Test for finite value. More... | |
template<typename F , typename return_t = detail::matching_integral_t<detail::collapse_swizzled_vec_t<F>>, COMPUTECPP_REQUIRES(detail::builtin::is_genfloat< F >::value) > | |
return_t | cl::sycl::isinf (F x) noexcept |
Test for infinity value (positive or negative). More... | |
template<typename F , typename return_t = detail::matching_integral_t<detail::collapse_swizzled_vec_t<F>>, COMPUTECPP_REQUIRES(detail::builtin::is_genfloat< F >::value) > | |
return_t | cl::sycl::isnan (F x) noexcept |
Test for a NaN. More... | |
template<typename F , COMPUTECPP_REQUIRES(detail::builtin::is_genfloat< F >::value) > | |
detail::matching_integral_t< F > | cl::sycl::isnormal (F x) noexcept |
Test for a normal value. More... | |
template<typename F , COMPUTECPP_REQUIRES(detail::builtin::is_genfloat< F >::value) > | |
detail::matching_integral_t< F > | cl::sycl::isordered (F x, F y) noexcept |
Test if arguments are ordered. More... | |
template<typename F , COMPUTECPP_REQUIRES(detail::builtin::is_genfloat< F >::value) > | |
detail::matching_integral_t< F > | cl::sycl::isunordered (F x, F y) noexcept |
Test if arguments are unordered. More... | |
template<typename F , typename return_t = detail::matching_integral_t<detail::collapse_swizzled_vec_t<F>>, COMPUTECPP_REQUIRES(detail::builtin::is_genfloat< F >::value) > | |
return_t | cl::sycl::signbit (F x) noexcept |
Test for sign bit. More... | |
template<typename Integral , COMPUTECPP_REQUIRES(detail::builtin::is_igeninteger< Integral >::value) > | |
int | cl::sycl::any (Integral x) noexcept |
Returns 1 if the most significant bit in any component of x is set; otherwise returns 0. More... | |
template<typename Integral , COMPUTECPP_REQUIRES(detail::builtin::is_igeninteger< Integral >::value) > | |
int | cl::sycl::all (Integral x) noexcept |
Returns 1 if the most significant bit in all components of x is set; otherwise returns 0. More... | |
template<typename T , COMPUTECPP_REQUIRES(detail::builtin::is_gentype< T >::value) > | |
T | cl::sycl::bitselect (T a, T b, T c) noexcept |
Each bit of the result is the corresponding bit of a if the corresponding bit of c is 0. More... | |
template<typename T1 , typename T2 , COMPUTECPP_REQUIRES( computecpp::gsl::or_< detail::builtin::is_geninteger< T1 >::value && detail::builtin::is_igeninteger< T2 >::value, detail::builtin::is_geninteger< T1 >::value && detail::builtin::is_ugeninteger< T2 >::value, detail::builtin::is_genfloatf< T1 >::value && detail::builtin::is_genint< T2 >::value, detail::builtin::is_genfloatf< T1 >::value && detail::builtin::is_ugenint< T2 >::value, detail::builtin::is_genfloatd< T1 >::value && detail::builtin::is_igeninteger64bit< T2 >::value, detail::builtin::is_genfloatd< T1 >::value && detail::builtin::is_ugeninteger64bit< T2 >::value >::value) > | |
T1 | cl::sycl::select (T1 a, T1 b, T2 c) noexcept |
For each component of a vector type: result[i] = (MSB of c[i] is set)? b[i] : a[i] For a scalar type: result = c ? b : a . More... | |
Macro Definition Documentation
◆ COMPUTECPP_DETAIL_NAMESPACE
#define COMPUTECPP_DETAIL_NAMESPACE abacus::detail::relational |
Definition at line 27 of file math_relational.h.