at.dms.kjc.cell
Class CellNoSWPipeLayout

java.lang.Object
  extended by at.dms.kjc.common.SimulatedAnnealing
      extended by at.dms.kjc.backendSupport.NoSWPipeLayout<CellPU,CellChip>
          extended by at.dms.kjc.cell.CellNoSWPipeLayout
All Implemented Interfaces:
Layout<CellPU>

public class CellNoSWPipeLayout
extends NoSWPipeLayout<CellPU,CellChip>

Subclass of NoSWPipeLayout that keeps all I/O filters on PPU and all non-I/O filtrers on SPUs

Author:
dimock

Field Summary
 
Fields inherited from class at.dms.kjc.backendSupport.NoSWPipeLayout
assignedFilters, chip, partitioner, rand, scheduleOrder
 
Fields inherited from class at.dms.kjc.common.SimulatedAnnealing
ANNEALITERATIONS, assignment, MAXTEMPITERATIONS, MINTEMPITERATIONS, TFACTR
 
Constructor Summary
CellNoSWPipeLayout(SpaceTimeScheduleAndPartitioner spaceTime, CellChip chip)
           
 
Method Summary
 void initialPlacement()
          Random initial assignment.
 void swapAssignment()
          Called by perturbConfiguration() to perturb the configuration.
 
Methods inherited from class at.dms.kjc.backendSupport.NoSWPipeLayout
getComputeNode, initialize, keepNewEqualMin, placementCost, run, setAssignment, setComputeNode
 
Methods inherited from class at.dms.kjc.common.SimulatedAnnealing
getRandom, printLayoutStats, setConstants, simAnnealAssign
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellNoSWPipeLayout

public CellNoSWPipeLayout(SpaceTimeScheduleAndPartitioner spaceTime,
                          CellChip chip)
Method Detail

swapAssignment

public void swapAssignment()
Description copied from class: NoSWPipeLayout
Called by perturbConfiguration() to perturb the configuration. perturbConfiguration() decides if we should keep the new assignment. The assignment should contain only FilterSliceNodes when this is called.

Overrides:
swapAssignment in class NoSWPipeLayout<CellPU,CellChip>

initialPlacement

public void initialPlacement()
Description copied from class: NoSWPipeLayout
Random initial assignment.

Overrides:
initialPlacement in class NoSWPipeLayout<CellPU,CellChip>