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

Separate processedItemCounts and producedItemCounts for each stream set

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/editd/editd_cpu_kernel.cpp

    r5246 r5247  
    4040    iBuilder->CreateCall(doBlockFunction, doBlockArgs);
    4141    /* Adjust the produced item count */
    42     Value * produced = getProducedItemCount(self);
     42    Value * produced = getProducedItemCount(self, "ResultStream");
    4343    produced = iBuilder->CreateSub(produced, iBuilder->getSize(iBuilder->getStride()));
    44     setProducedItemCount(self, iBuilder->CreateAdd(produced, remaining));
     44    setProducedItemCount(self, "ResultStream", iBuilder->CreateAdd(produced, remaining));
    4545    iBuilder->CreateRetVoid();
    4646    iBuilder->restoreIP(savePoint);
     
    115115    }
    116116
    117     Value * produced = getProducedItemCount(kernelStuctParam);
     117    Value * produced = getProducedItemCount(kernelStuctParam, "ResultStream");
    118118    produced = iBuilder->CreateAdd(produced, iBuilder->getSize(iBuilder->getStride()));
    119     setProducedItemCount(kernelStuctParam, produced);
     119    setProducedItemCount(kernelStuctParam, "ResultStream", produced);
    120120       
    121121    iBuilder->CreateRetVoid();
Note: See TracChangeset for help on using the changeset viewer.