#include <sycl/detail/builtins/builtins.hpp>
#include "host_helper_macros.hpp"
#include <bitset>
#include <cmath>
Go to the source code of this file.
|
template<typename T > |
static auto | sycl::_V1::process_arg_for_macos (T x) |
|
| sycl::_V1::REL_BUILTIN_CUSTOM (TWO_ARGS, isequal,([](auto x, auto y) { return x==y;})) REL_BUILTIN_CUSTOM(TWO_ARGS |
|
| sycl::_V1::REL_BUILTIN_CUSTOM (TWO_ARGS, isgreater,([](auto x, auto y) { return x > y;})) REL_BUILTIN_CUSTOM(TWO_ARGS |
|
| sycl::_V1::REL_BUILTIN_CUSTOM (TWO_ARGS, isless,([](auto x, auto y) { return x< y;})) REL_BUILTIN_CUSTOM(TWO_ARGS |
|
| sycl::_V1::REL_BUILTIN_CUSTOM (TWO_ARGS, islessgreater,([](auto x, auto y) { return x< y||x > y;})) REL_BUILTIN_CUSTOM(TWO_ARGS |
|
◆ _SYCL_BUILTINS_GCC_VER
#define _SYCL_BUILTINS_GCC_VER (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) |
◆ GCC_PR112816_DISABLE_OPT
#define GCC_PR112816_DISABLE_OPT |
◆ GCC_PR112816_RESTORE_OPT
#define GCC_PR112816_RESTORE_OPT |
◆ REL_BUILTIN
#define REL_BUILTIN |
( |
|
NUM_ARGS, |
|
|
|
NAME |
|
) |
| |
Value:
})
static auto process_arg_for_macos(T x)
#define REL_BUILTIN_CUSTOM(NUM_ARGS, NAME,...)
Definition at line 47 of file relational_functions.cpp.
◆ REL_BUILTIN_CUSTOM
#define REL_BUILTIN_CUSTOM |
( |
|
NUM_ARGS, |
|
|
|
NAME, |
|
|
|
... |
|
) |
| |
Value: template <typename... Ts> static auto NAME##_host_impl(Ts... xs) { \
using namespace detail; \
if constexpr ((... || is_vec_v<Ts>)) { \
return builtin_delegate_rel_impl( \
[](auto... xs) { return NAME##_host_impl(xs...); }, xs...); \
} else { \
return __VA_ARGS__(xs...); \
} \
} \
EXPORT_SCALAR_AND_VEC_1_16(NUM_ARGS, NAME,
FP_TYPES)
Definition at line 36 of file relational_functions.cpp.