DPC++ Runtime
Runtime libraries for oneAPI DPC++
builtins.hpp File Reference
Include dependency graph for builtins.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sycl::_V1::detail::fp_elem_type< T >
 
struct  sycl::_V1::detail::float_elem_type< T >
 
struct  sycl::_V1::detail::same_basic_shape< Ts >
 
struct  sycl::_V1::detail::same_elem_type< Ts >
 
struct  sycl::_V1::detail::any_shape< typename >
 
struct  sycl::_V1::detail::scalar_only< T >
 
struct  sycl::_V1::detail::non_scalar_only< T >
 
struct  sycl::_V1::detail::default_ret_type< T >
 
struct  sycl::_V1::detail::scalar_ret_type< T >
 
struct  sycl::_V1::detail::builtin_enable< RetTypeTrait, ElemTypeChecker, ShapeChecker, ExtraConditions, Ts >
 

Namespaces

 sycl
 
 sycl::_V1
 
 sycl::_V1::detail
 
 sycl::_V1::detail::builtins
 

Macros

#define BUILTIN_CREATE_ENABLER(NAME, RET_TYPE_TRAIT, ELEM_TYPE_CHECKER, SHAPE_CHECKER, EXTRA_CONDITIONS)
 

Functions

template<typename FuncTy , typename... Ts>
auto sycl::_V1::detail::builtin_marray_impl (FuncTy F, const Ts &...x)
 
template<typename FuncTy , typename... Ts>
auto sycl::_V1::detail::builtin_default_host_impl (FuncTy F, const Ts &...x)
 
template<typename FuncTy , typename... Ts>
auto sycl::_V1::detail::builtin_delegate_to_scalar (FuncTy F, const Ts &...x)
 

Variables

template<typename... Ts>
constexpr bool sycl::_V1::detail::builtin_same_shape_v
 
template<typename... Ts>
constexpr bool sycl::_V1::detail::builtin_same_or_swizzle_v
 

Macro Definition Documentation

◆ BUILTIN_CREATE_ENABLER

#define BUILTIN_CREATE_ENABLER (   NAME,
  RET_TYPE_TRAIT,
  ELEM_TYPE_CHECKER,
  SHAPE_CHECKER,
  EXTRA_CONDITIONS 
)
Value:
namespace detail { \
template <typename... Ts> \
using NAME##_t = \
typename builtin_enable<RET_TYPE_TRAIT, ELEM_TYPE_CHECKER, \
SHAPE_CHECKER, EXTRA_CONDITIONS, Ts...>::type; \
}

Definition at line 220 of file builtins.hpp.