for (int i = 0; i < nCols; i++) { lookupValues[0][i] = 0; } ReductionInnerHandler loop = new ReductionInnerHandler(nCols, nThreads); // Use global j for (j = 1; j < nRows; j++) { loop.loopProcess(); } return lookupValues;
this.nThreads = nThreads; this.nRows = nRows; this.nCols = nCols; lookupValues = new float[nRows][]; for (int j = 0; j < nRows; j++) { lookupValues[j] = new float[nCols]; }