public class SAllReduce extends BaseOperation
channel, op
Constructor and Description |
---|
SAllReduce(Communicator comm,
LogicalPlanBuilder logicalPlanBuilder,
MessageType dataType,
ReduceFunction fnc,
SingularReceiver rcvr) |
SAllReduce(Communicator comm,
LogicalPlan plan,
java.util.Set<java.lang.Integer> sources,
java.util.Set<java.lang.Integer> targets,
MessageType dataType,
ReduceFunction fnc,
SingularReceiver rcvr) |
SAllReduce(Communicator comm,
LogicalPlan plan,
java.util.Set<java.lang.Integer> sources,
java.util.Set<java.lang.Integer> targets,
MessageType dataType,
ReduceFunction fnc,
SingularReceiver rcvr,
int reduceEdgeId,
int bcastEdgeId,
MessageSchema messageSchema)
Construct a Streaming AllReduce operation
|
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 SAllReduce(Communicator comm, LogicalPlan plan, java.util.Set<java.lang.Integer> sources, java.util.Set<java.lang.Integer> targets, MessageType dataType, ReduceFunction fnc, SingularReceiver rcvr, int reduceEdgeId, int bcastEdgeId, MessageSchema messageSchema)
comm
- the communicatorplan
- task plansources
- source taskstargets
- target tasksrcvr
- receiverdataType
- data typepublic SAllReduce(Communicator comm, LogicalPlan plan, java.util.Set<java.lang.Integer> sources, java.util.Set<java.lang.Integer> targets, MessageType dataType, ReduceFunction fnc, SingularReceiver rcvr)
public SAllReduce(Communicator comm, LogicalPlanBuilder logicalPlanBuilder, MessageType dataType, ReduceFunction fnc, SingularReceiver rcvr)