Class FloodFillStart
java.lang.Object
uk.ac.manchester.spinnaker.messages.sdp.SpinnakerRequest
uk.ac.manchester.spinnaker.messages.scp.SCPRequest<EmptyResponse>
uk.ac.manchester.spinnaker.messages.scp.FloodFillStart
- All Implemented Interfaces:
SerializableMessage
A request to start a flood fill of data. There is no response payload.
Calls nn_cmd_ffs() in scamp-nn.c on all cores via
ff_nn_send() in scamp-nn.c.
-
Field Summary
Fields inherited from class uk.ac.manchester.spinnaker.messages.scp.SCPRequest
argument1, argument2, argument3, BOOT_CHIP, BOOT_MONITOR_CORE, data, NO_DATA, scpRequestHeaderFields inherited from class uk.ac.manchester.spinnaker.messages.sdp.SpinnakerRequest
sdpHeader -
Constructor Summary
ConstructorsConstructorDescriptionFloodFillStart(byte nearestNeighbourID, int numBlocks) Flood fill onto all chips.FloodFillStart(byte nearestNeighbourID, int numBlocks, HasChipLocation chip) Flood fill on a specific chip. -
Method Summary
Modifier and TypeMethodDescriptiongetSCPResponse(ByteBuffer buffer) Parse the response to this message.Methods inherited from class uk.ac.manchester.spinnaker.messages.scp.SCPRequest
addToBufferMethods inherited from class uk.ac.manchester.spinnaker.messages.sdp.SpinnakerRequest
getMessageData
-
Constructor Details
-
FloodFillStart
public FloodFillStart(byte nearestNeighbourID, int numBlocks) Flood fill onto all chips.- Parameters:
nearestNeighbourID- The ID of the packet, between 0 and 127numBlocks- The number of blocks of data that will be sent, between 0 and 255
-
FloodFillStart
Flood fill on a specific chip.- Parameters:
nearestNeighbourID- The ID of the packet, between 0 and 127numBlocks- The number of blocks of data that will be sent, between 0 and 255chip- The chip to load the data on to.
-
-
Method Details
-
getSCPResponse
Description copied from class:SCPRequestParse the response to this message.- Specified by:
getSCPResponsein classSCPRequest<EmptyResponse>- Parameters:
buffer- The buffer to parse.- Returns:
- The message response.
- Throws:
UnexpectedResponseCodeException
-