RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
RAJA::WorkSite< WORKGROUP_POLICY_T, INDEX_T, EXTRA_ARGS_T, ALLOCATOR_T > Struct Template Reference

WorkSite class template. Owns per run objects from a single run of a WorkGroup. More...

#include <WorkGroup.hpp>

Detailed Description

template<typename WORKGROUP_POLICY_T, typename INDEX_T, typename EXTRA_ARGS_T, typename ALLOCATOR_T>
struct RAJA::WorkSite< WORKGROUP_POLICY_T, INDEX_T, EXTRA_ARGS_T, ALLOCATOR_T >

WorkSite class template. Owns per run objects from a single run of a WorkGroup.

The WorkSite object is the third member of the workgroup constructs. It is created by a WorkGroup when calling run and stores any data needed for that run of that WorkGroup. Because the WorkSite owns data used for the running of a collection of loops it must not be destroyed before that collection of loops has finished running.

Usage example:

  WorkSite<WorkGroup_policy, Index_type, xargs<>, Allocator> site =
group.run();

  site.synchronize();

* 

The documentation for this struct was generated from the following file: