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/s2p_kernel.cpp

    r5102 r5103  
    147147    iBuilder->SetInsertPoint(finalEmptyBlock);
    148148    Value * blockNo = getScalarField(self, blockNoScalar);
    149     Value * basisBitsBlock_ptr = getCircularBufferBlockPointer(self, mStreamSetOutputs[0].ssName, blockNo);   
     149    Value * basisBitsBase_ptr = getScalarField(self, mStreamSetOutputs[0].ssName + basePtrSuffix);
     150    Value * basisBitsBlock_ptr = mStreamSetOutputs[0].ssType.getStreamSetBlockPointer(basisBitsBase_ptr, blockNo);
    150151    iBuilder->CreateStore(Constant::getNullValue(basisBitsBlock_ptr->getType()->getPointerElementType()), basisBitsBlock_ptr);
    151152    iBuilder->CreateBr(exitBlock);
Note: See TracChangeset for help on using the changeset viewer.