at.dms.kjc.spacetime
Class ManualSliceLayout

java.lang.Object
  extended by at.dms.kjc.spacetime.ManualSliceLayout
All Implemented Interfaces:
Layout<RawTile>

public class ManualSliceLayout
extends Object
implements Layout<RawTile>

Given a trace, ask the user where he/she wants it placed on the raw chip.


Constructor Summary
ManualSliceLayout(SpaceTimeSchedule spaceTime)
           
 
Method Summary
 RawTile getComputeNode(SliceNode node)
          Get the ComputeNode for a Slice
 void run()
          Do the setup for getComputeNode.
 void setComputeNode(SliceNode node, RawTile tile)
          Set the ComputeNode for a Slice
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManualSliceLayout

public ManualSliceLayout(SpaceTimeSchedule spaceTime)
Method Detail

getComputeNode

public RawTile getComputeNode(SliceNode node)
Description copied from interface: Layout
Get the ComputeNode for a Slice

Specified by:
getComputeNode in interface Layout<RawTile>
Parameters:
node - : the SliceNode to look up.
Returns:
the ComputeNode that should execute the SliceNode.

setComputeNode

public void setComputeNode(SliceNode node,
                           RawTile tile)
Description copied from interface: Layout
Set the ComputeNode for a Slice

Specified by:
setComputeNode in interface Layout<RawTile>
Parameters:
node - the SliceNode to associate with ...
tile - the ComputeNode where the SliceNode should execute.

run

public void run()
Description copied from interface: Layout
Do the setup for getComputeNode.

Specified by:
run in interface Layout<RawTile>