Legion Runtime
|
#include <legion.h>
Public Member Functions | |
DeferredReduction (size_t alignment=std::alignment_of< typename REDOP::RHS >()) | |
__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::RHS initial_value, size_t alignment=std::alignment_of< REDOP::RHS >()) | |
__CUDA_HD__ REDOP::RHS | read (void) const |
__CUDA_HD__ void | write (REDOP::RHS value) 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::RHS value) |
void | finalize (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.