public class BAllReduce extends BaseOperation
channel, op
Constructor and Description |
---|
BAllReduce(Communicator comm,
LogicalPlanBuilder logicalPlanBuilder,
ReduceFunction fnc,
SingularReceiver rcvr,
MessageType dataType) |
BAllReduce(Communicator comm,
LogicalPlan plan,
java.util.Set<java.lang.Integer> sources,
java.util.Set<java.lang.Integer> targets,
ReduceFunction fnc,
SingularReceiver rcvr,
MessageType dataType)
Construct a Batch AllReduce operation
|
BAllReduce(Communicator comm,
LogicalPlan plan,
java.util.Set<java.lang.Integer> sources,
java.util.Set<java.lang.Integer> targets,
ReduceFunction fnc,
SingularReceiver rcvr,
MessageType dataType,
int reduceEdgeId,
int broadEdgeId,
MessageSchema messageSchema) |
Modifier and Type | Method and Description |
---|---|
boolean |
reduce(int src,
java.lang.Object message,
int flags)
Send a message to be reduced
|
close, finish, isComplete, progress, progressChannel, reset, sendBarrier, waitForCompletion
public BAllReduce(Communicator comm, LogicalPlan plan, java.util.Set<java.lang.Integer> sources, java.util.Set<java.lang.Integer> targets, ReduceFunction fnc, SingularReceiver rcvr, MessageType dataType, int reduceEdgeId, int broadEdgeId, MessageSchema messageSchema)
public BAllReduce(Communicator comm, LogicalPlan plan, java.util.Set<java.lang.Integer> sources, java.util.Set<java.lang.Integer> targets, ReduceFunction fnc, SingularReceiver rcvr, MessageType dataType)
comm
- the communicatorplan
- task plansources
- source taskstargets
- target tasksrcvr
- receiverdataType
- data typepublic BAllReduce(Communicator comm, LogicalPlanBuilder logicalPlanBuilder, ReduceFunction fnc, SingularReceiver rcvr, MessageType dataType)