|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.kjc.backendSupport.GetOrMakeChannel
public class GetOrMakeChannel
Create channels of appropriate type for a back end. Provided version creates channels in shared memory, but can be overridden as necessary.
Field Summary | |
---|---|
protected BackEndFactory |
backEndBits
|
Constructor Summary | |
---|---|
GetOrMakeChannel(BackEndFactory backEndBits)
Crete a channel selector giving it a BackEndFactory to query. |
Method Summary | |
---|---|
Channel |
getOrMakeChannel(Edge e)
Given an edge e, make the correct sort of channel for it. |
protected Channel |
makeInterSliceChannel(InterSliceEdge e)
Create channel between slices. |
protected Channel |
makeIntraSliceChannel(Edge e)
For an edge within a slice, create a channel that implements that edge. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected BackEndFactory backEndBits
Constructor Detail |
---|
public GetOrMakeChannel(BackEndFactory backEndBits)
backendBits
- Method Detail |
---|
public Channel getOrMakeChannel(Edge e)
e
- an edge.
protected Channel makeIntraSliceChannel(Edge e)
This routine may need to be overridden in the case where it is necessary to buffer data off chip between a joiner and a filter or between a filter and a splitter, or in the case where we are not using simple slices and there are filter->filter edges.
e
- an Edge
protected Channel makeInterSliceChannel(InterSliceEdge e)
A subclass may call super.makeInterSliceChannel(e) if both ends of the channel are laid out on the same ComputeNode and if using an array in the ComputeNode's memory is an appropriate way of communicating. Otherwise a subclass will make a channel of the appropriate type.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |