1 #ifndef HeterogeneousCore_AlpakaInterface_interface_vec_h 2 #define HeterogeneousCore_AlpakaInterface_interface_vec_h 6 #include <alpaka/alpaka.hpp> 11 ALPAKA_NO_HOST_ACC_WARNING
12 template <
typename TDim,
15 typename = std::enable_if_t<(std::is_same_v<Vec<TDim, TVal>, Vecs> && ...)>>
16 ALPAKA_FN_HOST_ACC constexpr
auto elementwise_min(Vec<TDim, TVal>
const&
p, Vecs
const&... qs) -> Vec<TDim, TVal> {
26 ALPAKA_NO_HOST_ACC_WARNING
27 template <
typename TDim,
30 typename = std::enable_if_t<(std::is_same_v<Vec<TDim, TVal>, Vecs> && ...)>>
31 ALPAKA_FN_HOST_ACC constexpr
auto elementwise_max(Vec<TDim, TVal>
const&
p, Vecs
const&... qs) -> Vec<TDim, TVal> {
42 #endif // HeterogeneousCore_AlpakaInterface_interface_vec_h
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_HOST_ACC constexpr auto elementwise_min(Vec< TDim, TVal > const &p, Vecs const &... qs) -> Vec< TDim, TVal >
Container::value_type value_type
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_HOST_ACC constexpr auto elementwise_max(Vec< TDim, TVal > const &p, Vecs const &... qs) -> Vec< TDim, TVal >