SelfLoopInterchangedpublic class SelfLoopInterchanged extends Object implements ScaleTester
Fields Summary |
---|
private float[] | lookupValues | private int | nRows | private int | nCols | private int | nThreads |
Methods Summary |
---|
public float[][] | doCalc()
SelfLoopInterchangedHandler loop = new SelfLoopInterchangedHandler(nCols, nThreads);
loop.loopProcess();
return lookupValues;
| public void | init(int nRows, int nCols, int nThreads)
this.nRows = nRows;
this.nCols = nCols;
this.nThreads = nThreads;
lookupValues = new float[nRows][];
for (int j = 0; j < nRows; j++) {
lookupValues[j] = new float[nCols];
}
|
|