|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.kjc.spacetime.DuplicateBottleneck
public class DuplicateBottleneck
This class holds various methods for extracting data parallelism from the stream graph. There are many experimental methods and there are not many comments.
Constructor Summary | |
---|---|
DuplicateBottleneck()
|
Method Summary | |
---|---|
boolean |
duplicateBottleneck(SIRStream str)
|
void |
duplicateFilters(SIRStream str,
int reps)
Duplicate all the filters in the stream graph reps times. |
static void |
duplicateHeavyFilters(SIRStream str)
An experimental method for exploiting data-parallelism. |
void |
percentStateless(SIRStream str)
Print the percentage of work that is contained in stateless filters compared to the total work of the application. |
SIRStream |
smartDuplication(SIRStream str,
int numCores)
An experimental method for data-parallelization. |
void |
smarterDuplicate(SIRStream str,
int tiles)
Use the cousins algorithm specifying the number of tiles. |
SIRStream |
smarterDuplicateStreamline(SIRStream str,
int numCores)
Experimental method for extracting data-parallelism. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DuplicateBottleneck()
Method Detail |
---|
public SIRStream smarterDuplicateStreamline(SIRStream str, int numCores)
str
- The stream graphnumCores
- The number of processors we are targeting
public void duplicateFilters(SIRStream str, int reps)
str
- The original stream graph that we are going to munge.reps
- The number to times to duplicate.public void smarterDuplicate(SIRStream str, int tiles)
str
- The stream graphtiles
- The number of cores of the target machinepublic void percentStateless(SIRStream str)
str
- The stream graphpublic SIRStream smartDuplication(SIRStream str, int numCores)
str
- The stream graphnumCores
- The number pf processors
public static void duplicateHeavyFilters(SIRStream str)
str
- The stream graph.public boolean duplicateBottleneck(SIRStream str)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |