|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.kjc.backendSupport.BackEndScaffold
public class BackEndScaffold
Create code for a partitioning of Slice
s
on a collection of ComputeNode
s.
Connections between the ComputeNode s are returned as
Buffer
s.
Field Summary | |
---|---|
protected BackEndFactory |
resources
used to pass back-end factory around |
Constructor Summary | |
---|---|
BackEndScaffold()
|
Method Summary | |
---|---|
protected void |
afterScheduling(BasicSpaceTimeSchedule schedule,
BackEndFactory resources)
Use in subclasses to perform work after code is created for all schedules. |
protected void |
beforeScheduling(BasicSpaceTimeSchedule schedule,
BackEndFactory resources)
Use in subclasses to perform work before code is created. |
protected void |
betweenScheduling(BasicSpaceTimeSchedule schedule,
BackEndFactory resources)
|
protected boolean |
doNotCreateJoiner(InputSliceNode input)
Use in subclass to indicate that no code needs to be created for this joiner. |
protected void |
iterateInorder(Slice[] slices,
SchedulingPhase whichPhase,
ComputeNodesI computeNodes)
Iterate over the schedule of slices and over each node of each slice and generate the code necessary to fire the schedule. |
void |
run(BasicSpaceTimeSchedule schedule,
BackEndFactory resources)
Pass in a schedule , and get a set of ComputeNode s
and a set of (underspecified) Buffer s filled in. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected BackEndFactory resources
Constructor Detail |
---|
public BackEndScaffold()
Method Detail |
---|
protected void beforeScheduling(BasicSpaceTimeSchedule schedule, BackEndFactory resources)
schedule
- resources
- the BackEndFactory used to redirect to correct code generation routines.protected void betweenScheduling(BasicSpaceTimeSchedule schedule, BackEndFactory resources)
protected void afterScheduling(BasicSpaceTimeSchedule schedule, BackEndFactory resources)
schedule
- resources
- protected boolean doNotCreateJoiner(InputSliceNode input)
input
- InputSliceNode to consider for to a joiner.
public void run(BasicSpaceTimeSchedule schedule, BackEndFactory resources)
schedule
, and get a set of ComputeNode
s
and a set of (underspecified) Buffer
s filled in.
schedule
- computeNodes
- resources
- The instance of BackEndFactory to be used for callbacks, data.protected void iterateInorder(Slice[] slices, SchedulingPhase whichPhase, ComputeNodesI computeNodes)
slices
- The schedule to execute.whichPhase
- True if the init stage.computeNodes
- The collection of compute nodes.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |