|
RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
|
#include <WorkRunner.hpp>
Public Types | |
| using | resource_type = typename resources::get_resource< ExecutionPolicy >::type |
| using | HoldBodyArgs = typename std::conditional< !type_traits::is_device_exec_policy< ExecutionPolicy >::value, HoldBodyArgs_host< LoopBody, index_type, Args... >, HoldBodyArgs_device< LoopBody, index_type, Args... > >::type |
Public Member Functions | |
| template<typename segment_in , typename body_in > | |
| HoldForall (segment_in &&segment, body_in &&body) | |
| RAJA_INLINE void | operator() (resource_type r, Args... args) const |
A body and segment holder for storing loops that will be executed as foralls
| using RAJA::detail::HoldForall< ExecutionPolicy, Segment_type, LoopBody, index_type, Args >::resource_type = typename resources::get_resource<ExecutionPolicy>::type |
| using RAJA::detail::HoldForall< ExecutionPolicy, Segment_type, LoopBody, index_type, Args >::HoldBodyArgs = typename std::conditional< !type_traits::is_device_exec_policy<ExecutionPolicy>::value, HoldBodyArgs_host<LoopBody, index_type, Args...>, HoldBodyArgs_device<LoopBody, index_type, Args...> >::type |
|
inline |
|
inline |