Ignore:
Timestamp:
Jul 21, 2016, 6:55:10 AM (3 years ago)
Author:
cameron
Message:

getStreamSetBlockPtr

File:
1 edited

Legend:

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

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