Public Member Functions | |
CcjGatherIntArray (int groupSize) | |
void | setElementAt (int index, int groupSize, Serializable object) |
Serializable | elementAt (int index, int groupSize) |
int[] | getAllElements () |
int[][] | getAllElements2dArray () |
int[] | scanSums (int index) |
Used by CCJ to collect all the allElements
together during a allGather
call. Implements the CCJ interface Partitionable
.
|
inline |
Creates a new CcjGatherIntArray.
groupSize | number of processes in the group |
|
inline |
Used internally by CCJ.
index | process ID or rank |
groupSize | number of processes in the group |
index
|
inline |
Takes all second degree elements of allElements
and joins them into one int array.
the size of the int array to be returned
tracks the position of returnResults
when performing the joining of allElements
contains the contiguous list of values to be returned
|
inline |
Starts at allElements[index]
and decraments down allElements adding all second degree values of allElements
to the second degree values of allElements[index]
.
index | equal to the rank of the calling process |
|
inline |
Used internally by CCJ.
index | process ID or rank |
groupSize | number of processes in the group |
object | object being added to allElements[index] |