|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.kjc.cell.CellBackend
public class CellBackend
Field Summary | |
---|---|
static HashMap<InputSliceNode,Integer> |
artificialJoinerChannels
InputSliceNode -> ID of the artificial channel connecting it to the FilterSliceNode |
static HashMap<OutputSliceNode,Integer> |
artificialRRSplitterChannels
OutputSliceNode -> ID of the artificial channel connecting the FilterSliceNode to it |
static CellBackendFactory |
backEndBits
holds pointer to BackEndFactory instance during back end portion of this compiler. |
static HashMap<InterSliceEdge,Integer> |
channelIdMap
|
static ArrayList<InterSliceEdge> |
channels
|
static HashMap<OutputSliceNode,Integer> |
duplicateSplitters
|
static HashMap<SliceNode,Integer> |
filterIdMap
|
static ArrayList<SliceNode> |
filters
List of all the filters in the graph (including RR splitters and joiners as separate filters) |
static HashMap<InputSliceNode,LinkedList<Integer>> |
inputChannelMap
InputSliceNode -> List of input channel IDs |
static int |
ITERS_PER_BATCH
|
static int |
MAX_TAPES
|
static int |
numchannels
|
static int |
numfilters
|
static int |
numspus
|
static HashMap<OutputSliceNode,LinkedList<Integer>> |
outputChannelMap
OutputSliceNode -> List of output channel IDs |
static HashSet<Integer> |
readyInputs
Set of IDs of channels that already have input data ready |
static LinkedList<LinkedList<Integer>> |
scheduleLayout
Encapsulates the schedule and layout of the program. |
static HashMap<Integer,SliceNode> |
SPUassignment
|
Constructor Summary | |
---|---|
CellBackend()
|
Method Summary | |
---|---|
static void |
addReadyInputsForCompleted(LinkedList<Integer> completedIds)
|
static InterSliceEdge |
getEdgeBetween(OutputSliceNode src,
InputSliceNode dest)
|
static LinkedList<Integer> |
getLastScheduleGroup()
|
static void |
run(SIRStream str,
JInterfaceDeclaration[] interfaces,
SIRInterfaceTable[] interfaceTables,
SIRStructure[] structs,
SIRHelper[] helpers,
SIRGlobal global)
Top level method for Cell backend, called via reflection from StreaMITMain . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static CellBackendFactory backEndBits
public static int numfilters
public static int numchannels
public static final int numspus
public static final int MAX_TAPES
public static final int ITERS_PER_BATCH
public static final HashMap<InputSliceNode,LinkedList<Integer>> inputChannelMap
public static final HashMap<OutputSliceNode,LinkedList<Integer>> outputChannelMap
public static final HashMap<Integer,SliceNode> SPUassignment
public static final LinkedList<LinkedList<Integer>> scheduleLayout
public static final HashMap<InterSliceEdge,Integer> channelIdMap
public static final ArrayList<InterSliceEdge> channels
public static final ArrayList<SliceNode> filters
public static final HashMap<SliceNode,Integer> filterIdMap
public static final HashMap<OutputSliceNode,Integer> duplicateSplitters
public static final HashMap<InputSliceNode,Integer> artificialJoinerChannels
public static final HashMap<OutputSliceNode,Integer> artificialRRSplitterChannels
public static final HashSet<Integer> readyInputs
Constructor Detail |
---|
public CellBackend()
Method Detail |
---|
public static void run(SIRStream str, JInterfaceDeclaration[] interfaces, SIRInterfaceTable[] interfaceTables, SIRStructure[] structs, SIRHelper[] helpers, SIRGlobal global)
StreaMITMain
.
str
- SIRStream from Kopi2SIR
interfaces
- JInterfaceDeclaration[] from Kopi2SIR
interfaceTables
- SIRInterfaceTable[] from Kopi2SIR
structs
- SIRStructure[] from Kopi2SIR
helpers
- SIRHelper[] from Kopi2SIR
global
- SIRGlobal from Kopi2SIR
public static LinkedList<Integer> getLastScheduleGroup()
public static void addReadyInputsForCompleted(LinkedList<Integer> completedIds)
public static InterSliceEdge getEdgeBetween(OutputSliceNode src, InputSliceNode dest)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |