#include <legion.h>
Public Member Functions | |
| DeferredReduction (size_t alignment=16) | |
| __CUDA_HD__ void | reduce (typename REDOP::RHS val) const |
| __CUDA_HD__ void | operator<<= (typename REDOP::RHS val) const |
Public Member Functions inherited from Legion::DeferredValue< REDOP::RHS > | |
| DeferredValue (REDOP::RHSinitial_value, size_t alignment=16) | |
| __CUDA_HD__ REDOP::RHS | read (void) const |
| __CUDA_HD__ void | write (REDOP::RHSvalue) const |
| __CUDA_HD__ REDOP::RHS * | ptr (void) const |
| __CUDA_HD__ REDOP::RHS & | ref (void) const |
| __CUDA_HD__ | operator REDOP::RHS (void) const |
|
__CUDA_HD__ DeferredValue < REDOP::RHS > & | operator= (REDOP::RHSvalue) |
| void | finalize (Runtime *runtime, Context ctx) const |
Additional Inherited Members | |
Protected Attributes inherited from Legion::DeferredValue< REDOP::RHS > | |
| Realm::RegionInstance | instance |
|
Realm::AffineAccessor < REDOP::RHS, 1, coord_t > | accessor |
This is a special case of a DeferredValue that also supports a reduction operator. It supports all the same methods as the DeferredValue as well as an additional method for doing reductions using a reduction operator.
1.8.6