public class InitFEDInstruction extends FEDInstruction
FEDInstruction.FEDType
Instruction.IType
Modifier and Type | Field and Description |
---|---|
static String |
FED_FRAME_IDENTIFIER |
static String |
FED_MATRIX_IDENTIFIER |
DATATYPE_PREFIX, FEDERATED_INST_PREFIX, GPU_INST_PREFIX, INSTRUCTION_DELIM, LITERAL_PREFIX, OPERAND_DELIM, SP_INST_PREFIX, VALUETYPE_PREFIX
Constructor and Description |
---|
InitFEDInstruction(CPOperand type,
CPOperand addresses,
CPOperand ranges,
CPOperand out,
String opcode,
String instr) |
Modifier and Type | Method and Description |
---|---|
void |
federateFrame(FrameObject output,
List<org.apache.commons.lang3.tuple.Pair<FederatedRange,FederatedData>> workers) |
void |
federateMatrix(MatrixObject output,
List<org.apache.commons.lang3.tuple.Pair<FederatedRange,FederatedData>> workers) |
static InitFEDInstruction |
parseInstruction(String str) |
static String[] |
parseURL(String input) |
void |
processInstruction(ExecutionContext ec)
This method should be used to execute the instruction.
|
getFEDInstructionType, getTID, getType, preprocessInstruction, setTID
getBeginColumn, getBeginLine, getEndColumn, getEndLine, getExtendedOpcode, getFilename, getGraphString, getInstID, getInstructionString, getLineNum, getOpcode, getOperator, getPrivacyConstraint, postprocessInstruction, printMe, requiresLabelUpdate, setInstID, setLocation, setLocation, setLocation, setLocation, setPrivacyConstraint, setPrivacyConstraint, toString, updateInstructionThreadID
public static final String FED_MATRIX_IDENTIFIER
public static final String FED_FRAME_IDENTIFIER
public static InitFEDInstruction parseInstruction(String str)
public void processInstruction(ExecutionContext ec)
Instruction
processInstruction
in class Instruction
ec
- execution contextpublic void federateMatrix(MatrixObject output, List<org.apache.commons.lang3.tuple.Pair<FederatedRange,FederatedData>> workers)
public void federateFrame(FrameObject output, List<org.apache.commons.lang3.tuple.Pair<FederatedRange,FederatedData>> workers)
Copyright © 2020 The Apache Software Foundation. All rights reserved.