16 template<
typename T_To,
typename T_Input>
19 decltype(
auto)
operator()(
auto&&
any)
const;
25 template<
typename T_To,
typename T_Input>
28 decltype(
auto)
operator()(
auto&&
any)
const
30 return PCast::Op<T_To, T_Input>{}(
any);
47 template<
typename T_To>
50 return internal::PCast::Op<T_To,
ALPAKA_TYPEOF(input)>{}(input);
69 template<
typename T_To>
70 constexpr decltype(
auto)
lpCast(
auto&& input)
73 return internal::LPCast::Op<T_To,
ALPAKA_TYPEOF(input)>{}(input);
#define ALPAKA_TYPEOF(...)
Get the type of instance.
constexpr bool any(alpaka::onAcc::concepts::Acc auto const &acc, int32_t predicate)
Evaluates predicate for all active threads of the warp.
constexpr bool isLosslesslyConvertible_v
constexpr bool isConvertible_v
constexpr decltype(auto) lpCast(auto &&input)
Performs a static_cast on the storage type of combined data type.
constexpr decltype(auto) pCast(auto &&input)
Performs a static_cast on the storage type of combined data type.