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

    r5246 r5247  
    143143    iBuilder->CreateCall(doBlockFunction, {self});
    144144    /* Adjust the produced item count */
    145     Value * produced = getProducedItemCount(self);
     145    Value * produced = getProducedItemCount(self, "basisBits");
    146146    produced = iBuilder->CreateSub(produced, iBuilder->getSize(iBuilder->getStride()));
    147     setProducedItemCount(self, iBuilder->CreateAdd(produced, remainingBytes));
     147    setProducedItemCount(self, "basisBits", iBuilder->CreateAdd(produced, remainingBytes));
    148148   
    149149    iBuilder->CreateBr(exitBlock);
     
    176176        iBuilder->CreateBlockAlignedStore(basisbits[i], basisBits, {iBuilder->getInt32(0), iBuilder->getInt32(i)});
    177177    }
    178     Value * produced = getProducedItemCount(self);
     178    Value * produced = getProducedItemCount(self, "basisBits");
    179179    produced = iBuilder->CreateAdd(produced, iBuilder->getSize(iBuilder->getStride()));
    180     setProducedItemCount(self, produced);   
     180    setProducedItemCount(self, "basisBits", produced);   
    181181}
    182182   
Note: See TracChangeset for help on using the changeset viewer.