Ignore:
Timestamp:
Jan 12, 2017, 7:03:38 PM (2 years ago)
Author:
cameron
Message:

finalSegment kernel methods initial check-in

File:
1 edited

Legend:

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

    r5253 r5257  
    152152           
    153153            iBuilder->SetInsertPoint(partialSegmentLoopBody[i]);
    154             kernels[i]->createDoSegmentCall(instancePtrs[i], segmentBlocks);
     154            kernels[i]->createFinalSegmentCall(instancePtrs[i], segmentBlocks);
    155155            kernels[i]->releaseLogicalSegmentNo(instancePtrs[i], iBuilder->CreateAdd(processedSegmentCount, iBuilder->getSize(1)));
    156156            iBuilder->CreateBr(partialSegmentWait[i+1]);
     
    321321            iBuilder->SetInsertPoint(finalSegmentBlocks[i]);
    322322            Value * segNo = kernels[i]->acquireLogicalSegmentNo(kernels[i]->getInstance());
    323             kernels[i]->createDoSegmentCall(kernels[i]->getInstance(), segBlocks);
     323            kernels[i]->createFinalSegmentCall(kernels[i]->getInstance(), segBlocks);
    324324            kernels[i]->releaseLogicalSegmentNo(kernels[i]->getInstance(), iBuilder->CreateAdd(segNo, iBuilder->getSize(1)));
    325325            if (finalSegmentBlocks[i] != finalSegmentBlocks[i+1]) {
Note: See TracChangeset for help on using the changeset viewer.