#include <cksparsecontiguousreducer.h>
Public Member Functions | |
CkSparseContiguousReducer () | |
~CkSparseContiguousReducer () | |
void | add (int _sx, int _sy, int _ex, int _ey, T *_data) |
void | contribute (ArrayElement *elem, CkReduction::reducerType type, const CkCallback &cb) |
void | contribute (ArrayElement *elem, CkReduction::reducerType type) |
Private Attributes | |
CkDataSegHeader | r |
T * | data |
Definition at line 115 of file cksparsecontiguousreducer.h.
CkSparseContiguousReducer< T >::CkSparseContiguousReducer | ( | ) | [inline] |
Definition at line 121 of file cksparsecontiguousreducer.h.
CkSparseContiguousReducer< T >::~CkSparseContiguousReducer | ( | ) | [inline] |
Definition at line 122 of file cksparsecontiguousreducer.h.
void CkSparseContiguousReducer< T >::add | ( | int | _sx, | |
int | _sy, | |||
int | _ex, | |||
int | _ey, | |||
T * | _data | |||
) | [inline] |
Definition at line 129 of file cksparsecontiguousreducer.h.
References CkSparseContiguousReducer< T >::data, CkDataSegHeader::ex, CkDataSegHeader::ey, CkSparseContiguousReducer< T >::r, CkDataSegHeader::sx, and CkDataSegHeader::sy.
void CkSparseContiguousReducer< T >::contribute | ( | ArrayElement * | elem, | |
CkReduction::reducerType | type, | |||
const CkCallback & | cb | |||
) | [inline] |
Definition at line 141 of file cksparsecontiguousreducer.h.
References CkReductionMsg::buildNew(), count, CkSparseContiguousReducer< T >::data, CkReductionMsg::getData(), CkDataSegHeader::getNumElements(), int, msg, CkSparseContiguousReducer< T >::r, CkReductionMsg::setCallback(), and size.
Referenced by CkSparseContiguousReducer< T >::contribute().
void CkSparseContiguousReducer< T >::contribute | ( | ArrayElement * | elem, | |
CkReduction::reducerType | type | |||
) | [inline] |
Definition at line 168 of file cksparsecontiguousreducer.h.
References cb, and CkSparseContiguousReducer< T >::contribute().
CkDataSegHeader CkSparseContiguousReducer< T >::r [private] |
Definition at line 117 of file cksparsecontiguousreducer.h.
Referenced by CkSparseContiguousReducer< T >::add(), and CkSparseContiguousReducer< T >::contribute().
T* CkSparseContiguousReducer< T >::data [private] |
Definition at line 118 of file cksparsecontiguousreducer.h.
Referenced by CkSparseContiguousReducer< T >::add(), and CkSparseContiguousReducer< T >::contribute().