public class BcastCollective
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static Logger |
LOG |
Constructor and Description |
---|
BcastCollective() |
Modifier and Type | Method and Description |
---|---|
static <P extends Simple> |
broadcast(java.lang.String contextName,
java.lang.String operationName,
Table<P> table,
int bcastWorkerID,
boolean useMSTBcast,
DataMap dataMap,
Workers workers)
The broadcast communication operation
|
static void |
main(java.lang.String[] args) |
static boolean |
runByteArrayChainBcast(java.lang.String contextName,
int workerID,
int numBytes,
int numLoops,
DataMap dataMap,
Workers workers) |
static boolean |
runChainBcast(java.lang.String contextName,
int workerID,
int numBytes,
int numLoops,
DataMap dataMap,
Workers workers)
Test for broadcasting using chain method
|
static boolean |
runDoubleArrayTableBcast(java.lang.String contextName,
int workerID,
int numBytes,
int numLoops,
DataMap dataMap,
Workers workers) |
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public static boolean runChainBcast(java.lang.String contextName, int workerID, int numBytes, int numLoops, DataMap dataMap, Workers workers)
public static boolean runByteArrayChainBcast(java.lang.String contextName, int workerID, int numBytes, int numLoops, DataMap dataMap, Workers workers)
public static boolean runDoubleArrayTableBcast(java.lang.String contextName, int workerID, int numBytes, int numLoops, DataMap dataMap, Workers workers)
public static <P extends Simple> boolean broadcast(java.lang.String contextName, java.lang.String operationName, Table<P> table, int bcastWorkerID, boolean useMSTBcast, DataMap dataMap, Workers workers)
contextName
- the name of the contextoperationName
- the name of the operationtable
- the data TablebcastWorkerID
- the worker which broadcastsuseMSTBcast
- use MST method or notdataMap
- the DataMapworkers
- the Workers