Changeset 5356 for icGREP


Ignore:
Timestamp:
Mar 3, 2017, 3:54:44 PM (2 years ago)
Author:
cameron
Message:

Eliminate obsolete DoBlockUpdatesProducedItemCounts? attribute

Location:
icGREP/icgrep-devel/icgrep
Files:
11 edited

Legend:

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

    r5317 r5356  
    9494mEditDistance(dist),
    9595mPatternLen(pattLen){
    96 setDoBlockUpdatesProducedItemCountsAttribute(false);
    9796}
    9897
  • icGREP/icgrep-devel/icgrep/editd/editd_gpu_kernel.cpp

    r5317 r5356  
    9090, mEditDistance(dist)
    9191, mPatternLen(pattLen) {
    92     setDoBlockUpdatesProducedItemCountsAttribute(false);
    9392}
    9493
  • icGREP/icgrep-devel/icgrep/kernels/alignedprint.cpp

    r5353 r5356  
    259259: BlockOrientedKernel(builder, "PrintableBits", {Binding{builder->getStreamSetTy(1), "bitStream"}}, {Binding{builder->getStreamSetTy(1, 8), "byteStream"}}, {}, {}, {}) {
    260260    setNoTerminateAttribute(true);
    261     setDoBlockUpdatesProducedItemCountsAttribute(false);
    262261}
    263262
     
    265264: BlockOrientedKernel(builder, "SelectStream", {Binding{builder->getStreamSetTy(sizeInputStreamSet), "bitStreams"}}, {Binding{builder->getStreamSetTy(1, 1), "bitStream"}}, {}, {}, {}), mSizeInputStreamSet(sizeInputStreamSet), mStreamIndex(streamIndex) {
    266265    setNoTerminateAttribute(true);
    267     setDoBlockUpdatesProducedItemCountsAttribute(false);
    268266
    269267}
  • icGREP/icgrep-devel/icgrep/kernels/deletion.cpp

    r5355 r5356  
    9090, mDeletionFieldWidth(fw)
    9191, mStreamCount(streamCount) {
    92     mDoBlockUpdatesProducedItemCountsAttribute = false;
    9392}
    9493
     
    165164, mDelCountFieldWidth(fw)
    166165, mStreamCount(streamCount) {
    167     mDoBlockUpdatesProducedItemCountsAttribute = false;
    168166}
    169167
  • icGREP/icgrep-devel/icgrep/kernels/evenodd.cpp

    r5326 r5356  
    2121: BlockOrientedKernel(builder, "EvenOdd", {Binding{builder->getStreamSetTy(8, 1), "BasisBits"}}, {Binding{builder->getStreamSetTy(2, 1), "even_odd"}}, {}, {}, {}) {
    2222    setNoTerminateAttribute(true);
    23     setDoBlockUpdatesProducedItemCountsAttribute(false);
    2423
    2524}
  • icGREP/icgrep-devel/icgrep/kernels/kernel.cpp

    r5355 r5356  
    706706, mSelf(nullptr)
    707707, mCurrentMethod(nullptr)
    708 , mNoTerminateAttribute(false)
    709 , mDoBlockUpdatesProducedItemCountsAttribute(false) {
     708, mNoTerminateAttribute(false) {
    710709
    711710}
  • icGREP/icgrep-devel/icgrep/kernels/kernel.h

    r5351 r5356  
    125125    }
    126126
    127     void setDoBlockUpdatesProducedItemCountsAttribute(const bool doesUpdate = true) {
    128         mDoBlockUpdatesProducedItemCountsAttribute = doesUpdate;
    129     }
    130    
    131127    void prepareKernelSignature();
    132128
     
    271267    std::vector<const parabix::StreamSetBuffer *>   mStreamSetOutputBuffers;
    272268    bool                                            mNoTerminateAttribute;
    273     bool                                            mDoBlockUpdatesProducedItemCountsAttribute;
    274269
    275270};
  • icGREP/icgrep-devel/icgrep/kernels/p2s_kernel.cpp

    r5347 r5356  
    158158                      {Binding{iBuilder->getStreamSetTy(1, 8), "byteStream", MaxRatio(1)}},
    159159              {}, {}, {}) {
    160     setDoBlockUpdatesProducedItemCountsAttribute(true);
    161160}
    162161
     
    176175              {},
    177176              {}) {
    178     setDoBlockUpdatesProducedItemCountsAttribute(true);
    179177
    180178}
  • icGREP/icgrep-devel/icgrep/kernels/radix64.cpp

    r5328 r5356  
    468468            {Binding{iBuilder->getStreamSetTy(1, 8), "base64stream", RoundUpToMultiple(4)}},
    469469            {}, {}, {}) {
    470     setDoBlockUpdatesProducedItemCountsAttribute(true);
    471 }
    472 
    473 }
     470}
     471
     472}
  • icGREP/icgrep-devel/icgrep/kernels/s2p_kernel.cpp

    r5350 r5356  
    165165: BlockOrientedKernel(builder, "s2p", {Binding{builder->getStreamSetTy(1, 8), "byteStream"}}, {Binding{builder->getStreamSetTy(8, 1), "basisBits"}}, {}, {}, {}) {
    166166    setNoTerminateAttribute(true);
    167     setDoBlockUpdatesProducedItemCountsAttribute(false);
    168167}
    169168
  • icGREP/icgrep-devel/icgrep/pablo/pablo_kernel.cpp

    r5347 r5356  
    141141, mSymbolTable(new SymbolGenerator(mAllocator))
    142142, mEntryBlock(PabloBlock::Create(this)) {
    143     setDoBlockUpdatesProducedItemCountsAttribute(false);
    144143    prepareKernelSignature();
    145144    for (const Binding & ss : mStreamSetInputs) {
Note: See TracChangeset for help on using the changeset viewer.