Ignore:
Timestamp:
Jul 20, 2016, 2:48:37 PM (3 years ago)
Author:
cameron
Message:

Clean out hard-coded circular buffer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/scanmatchgen.cpp

    r5096 r5103  
    5757    Value * recordStart = getScalarField(kernelStuctParam, "LineStart");
    5858    Value * recordNum = getScalarField(kernelStuctParam, "LineNum");
    59    
    60     Value * matchResultsPtr = getCircularBufferBlockPointer(kernelStuctParam, "matchResults", blockNo);
    61    
     59    Value * matchResultsBase_ptr = getScalarField(kernelStuctParam, "matchResults" + basePtrSuffix);
     60    Value * matchResultsPtr = mStreamSetInputs[0].ssType.getStreamSetBlockPointer(matchResultsBase_ptr, blockNo);   
    6261    Value * matches = iBuilder->CreateBlockAlignedLoad(matchResultsPtr, {iBuilder->getInt32(0), iBuilder->getInt32(0)});
    6362    Value * linebreaks = iBuilder->CreateBlockAlignedLoad(matchResultsPtr, {iBuilder->getInt32(0), iBuilder->getInt32(1)});
Note: See TracChangeset for help on using the changeset viewer.