Ignore:
Timestamp:
May 19, 2017, 12:03:57 PM (2 years ago)
Author:
cameron
Message:

Deprecating SingleBlockBuffer?

File:
1 edited

Legend:

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

    r5446 r5457  
    223223    pxDriver.makeKernelCall(mmapK, {}, {ChStream});
    224224
    225     auto MatchResults = pxDriver.addBuffer(make_unique<SingleBlockBuffer>(idb, idb->getStreamSetTy(editDistance + 1)));
     225    auto MatchResults = pxDriver.addBuffer(make_unique<CircularBuffer>(idb, idb->getStreamSetTy(editDistance + 1), 1));
    226226
    227227    auto editdk = pxDriver.addKernelInstance(make_unique<PatternKernel>(idb, patterns));
     
    293293    pxDriver.makeKernelCall(mmapK, {}, {ByteStream});
    294294
    295     auto BasisBits = pxDriver.addBuffer(make_unique<SingleBlockBuffer>(iBuilder, iBuilder->getStreamSetTy(8)));
     295    auto BasisBits = pxDriver.addBuffer(make_unique<CircularBuffer>(iBuilder, iBuilder->getStreamSetTy(8), 1));
    296296    auto s2pk = pxDriver.addKernelInstance(make_unique<S2PKernel>(iBuilder));
    297297
Note: See TracChangeset for help on using the changeset viewer.