|
RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
|
WorkGroup class template. Owns loops from an instantiated WorkPool. More...
#include <WorkGroup.hpp>
WorkGroup class template. Owns loops from an instantiated WorkPool.
The WorkGroup object is the second member of the workgroup constructs. It is created by a WorkPool and stores a collection of loops so they can be run. When the WorkGroup is run it creates a WorkSite object with any per run data. Because the WorkGroup owns a collection of loops it must not be destroyed before that collection of loops has finished running. The WorkGroup can be used to run its collection of loops multiple times.
Usage example:
WorkGroup<WorkGroup_policy, Index_type, xargs<>, Allocator> group = pool.instantiate(); WorkSite<WorkGroup_policy, Index_type, xargs<>, Allocator> site = group.run(); *