at.dms.kjc.cell
Class SimpleCellLayout
java.lang.Object
at.dms.kjc.cell.SimpleCellLayout
- All Implemented Interfaces:
- Layout<CellPU>
public class SimpleCellLayout
- extends Object
- implements Layout<CellPU>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleCellLayout
public SimpleCellLayout(SpaceTimeScheduleAndPartitioner spaceTime,
CellChip cellChip)
getComputeNode
public CellPU getComputeNode(SliceNode node)
- Description copied from interface:
Layout
- Get the ComputeNode for a Slice
- Specified by:
getComputeNode
in interface Layout<CellPU>
- Parameters:
node
- : the SliceNode
to look up.
- Returns:
- the
ComputeNode
that should execute the SliceNode
.
run
public void run()
- Description copied from interface:
Layout
- Do the setup for
getComputeNode
.
- Specified by:
run
in interface Layout<CellPU>
setComputeNode
public void setComputeNode(SliceNode node,
CellPU computeNode)
- Description copied from interface:
Layout
- Set the ComputeNode for a Slice
- Specified by:
setComputeNode
in interface Layout<CellPU>
- Parameters:
node
- the SliceNode
to associate with ...computeNode
- the ComputeNode
where the SliceNode
should execute.