Ignore:
Timestamp:
Dec 6, 2016, 7:34:50 PM (3 years ago)
Author:
cameron
Message:

Eliminate filesize parameter for pipeline construction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/grep_engine.cpp

    r5220 r5221  
    225225    scanMatchK.setInitialArguments({inputStream, fileSize, fileIdx});
    226226   
    227     generatePipelineLoop(iBuilder, {&scanMatchK}, fileSize);
     227    generatePipelineLoop(iBuilder, {&scanMatchK});
    228228    iBuilder->CreateRetVoid();
    229229
     
    372372            generatePipelineParallel(iBuilder, {&s2pk, &icgrepK});
    373373        } else if (segmentPipelineParallel){
    374             generateSegmentParallelPipeline(iBuilder, {&s2pk, &icgrepK}, fileSize);
     374            generateSegmentParallelPipeline(iBuilder, {&s2pk, &icgrepK});
    375375        } else {
    376             generatePipelineLoop(iBuilder, {&s2pk, &icgrepK}, fileSize);
     376            generatePipelineLoop(iBuilder, {&s2pk, &icgrepK});
    377377        }
    378378
     
    388388
    389389            icgrepK.generateKernel({&BasisBits},  {&MatchResults});
    390             generatePipelineLoop(iBuilder, {&s2pk, &icgrepK}, fileSize);
     390            generatePipelineLoop(iBuilder, {&s2pk, &icgrepK});
    391391
    392392        }
     
    405405                generatePipelineParallel(iBuilder, {&s2pk, &icgrepK, &scanMatchK});
    406406            } else if (segmentPipelineParallel){
    407                 generateSegmentParallelPipeline(iBuilder, {&s2pk, &icgrepK, &scanMatchK}, fileSize);
     407                generateSegmentParallelPipeline(iBuilder, {&s2pk, &icgrepK, &scanMatchK});
    408408            }  else{
    409                 generatePipelineLoop(iBuilder, {&s2pk, &icgrepK, &scanMatchK}, fileSize);
     409                generatePipelineLoop(iBuilder, {&s2pk, &icgrepK, &scanMatchK});
    410410            }
    411411        }
Note: See TracChangeset for help on using the changeset viewer.