|
RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
|
WorkSite class template. Owns per run objects from a single run of a WorkGroup. More...
#include <WorkGroup.hpp>
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(); *