1 #ifndef RAJA_get_platform_HPP
2 #define RAJA_get_platform_HPP
15 template<
typename Selector,
typename... Policies>
29 constexpr RAJA::Platform
operator()(
const RAJA::Platform& l,
30 const RAJA::Platform& r)
const
32 return (l > r) ? l : r;
40 template<
typename T,
typename =
void>
44 static constexpr Platform
value = Platform::undefined;
51 template<
typename... Policies>
54 static constexpr Platform
value =
64 static constexpr Platform
value = Platform::undefined;
75 typename
std::enable_if<
76 std::is_base_of<RAJA::PolicyBase, T>::value &&
77 !RAJA::type_traits::is_indexset_policy<T>::value>::type>
80 static constexpr Platform
value = T::platform;
88 template<
typename SEG,
typename EXEC>
96 static constexpr Platform
value =
98 typename T::enclosed_statements_t>
::value;
108 template<
typename... Stmts>
121 static constexpr Platform
value = Platform::undefined;
127 template<
typename SELECTOR,
typename... POLICIES>
130 static constexpr Platform
value = Platform::undefined;
Header file for RAJA operator definitions.
Definition: MultiPolicy.hpp:56
Header file with support for pre-C++14 compilers.
#define RAJA_HOST_DEVICE
Definition: macros.hpp:65
camp::list< Stmts... > StatementList
Definition: StatementList.hpp:41
Definition: AlignedRangeIndexSetBuilders.cpp:35
RAJA_HOST_DEVICE constexpr RAJA_INLINE auto foldl(Op &&RAJA_UNUSED_ARG(operation), Arg1 &&arg) -> typename detail::foldl_impl< Op, Arg1 >::Ret
Definition: foldl.hpp:104
Definition: ListSegment.hpp:416
Header file for loop kernel internals.
Definition: IndexSet.hpp:70