public class LocalGlobalSyncCollective
extends java.lang.Object
Constructor and Description |
---|
LocalGlobalSyncCollective() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
static <P extends Simple> |
pull(java.lang.String contextName,
java.lang.String operationName,
Table<P> localTable,
Table<P> globalTable,
boolean useBcast,
DataMap dataMap,
Workers workers)
The pull communication operation.
|
static <P extends Simple> |
pullGlobalToLocal(java.lang.String contextName,
java.lang.String operationName,
Table<P> localTable,
Table<P> globalTable,
boolean useBcast,
DataMap dataMap,
Workers workers)
The pull communication operation.
|
static <P extends Simple,PT extends Partitioner> |
push(java.lang.String contextName,
java.lang.String operationName,
Table<P> localTable,
Table<P> globalTable,
PT partitioner,
DataMap dataMap,
Workers workers)
The push communication operation.
|
static <P extends Simple,PT extends Partitioner> |
pushLocalToGlobal(java.lang.String contextName,
java.lang.String operationName,
Table<P> localTable,
Table<P> globalTable,
PT partitioner,
DataMap dataMap,
Workers workers)
The push communication operation.
|
static <P extends Simple> |
rotate(java.lang.String contextName,
java.lang.String operationName,
Table<P> globalTable,
Int2IntMap rotateMap,
DataMap dataMap,
Workers workers) |
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public static <P extends Simple> boolean pull(java.lang.String contextName, java.lang.String operationName, Table<P> localTable, Table<P> globalTable, boolean useBcast, DataMap dataMap, Workers workers)
contextName
- the name of the contextoperationName
- the name of the operationlocalTable
- the local TableglobalTable
- the global TableuseBcast
- use broadcast or notdataMap
- the DataMapworkers
- the Workerspublic static <P extends Simple,PT extends Partitioner> boolean push(java.lang.String contextName, java.lang.String operationName, Table<P> localTable, Table<P> globalTable, PT partitioner, DataMap dataMap, Workers workers)
contextName
- the name of the contextoperationName
- the name of the operationlocalTable
- the local TableglobalTable
- the global Tablepartitioner
- the PartitionerdataMap
- the DataMapworkers
- the Workerspublic static <P extends Simple,PT extends Partitioner> boolean pushLocalToGlobal(java.lang.String contextName, java.lang.String operationName, Table<P> localTable, Table<P> globalTable, PT partitioner, DataMap dataMap, Workers workers)
contextName
- the name of the contextoperationName
- the name of the operationlocalTable
- the local TableglobalTable
- the global Tablepartitioner
- the PartitionerdataMap
- the DataMapworkers
- the Workerspublic static <P extends Simple> boolean pullGlobalToLocal(java.lang.String contextName, java.lang.String operationName, Table<P> localTable, Table<P> globalTable, boolean useBcast, DataMap dataMap, Workers workers)
contextName
- the name of the contextoperationName
- the name of the operationlocalTable
- the local TableglobalTable
- the global TableuseBcast
- use broadcast or notdataMap
- the DataMapworkers
- the Workerspublic static <P extends Simple> boolean rotate(java.lang.String contextName, java.lang.String operationName, Table<P> globalTable, Int2IntMap rotateMap, DataMap dataMap, Workers workers)
contextName
- the name of the contextoperationName
- the name of the operationglobalTable
- the global TablerotateMap
- the map indicating the order of
rotationdataMap
- the DataMapworkers
- the Workers