Ignore:
Timestamp:
Jun 8, 2018, 1:03:34 AM (12 months ago)
Author:
xwa163
Message:

Improve performance of literal copy and match copy in LZ4ParallelByteSteamAIOKernel

Location:
icGREP/icgrep-devel/icgrep/lz4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/lz4/LZ4Generator.cpp

    r6066 r6070  
    472472
    473473    //// Generate Helper Markers Extenders
    474     StreamSetBuffer * const Extenders = mPxDriver.addBuffer<StaticBuffer>(iBuilder, iBuilder->getStreamSetTy(1, 1), this->getInputBufferBlocks(iBuilder), 1);
    475     mMatchOffsetMarker = mPxDriver.addBuffer<StaticBuffer>(iBuilder, iBuilder->getStreamSetTy(1, 1), this->getInputBufferBlocks(iBuilder));
    476     Kernel * extenderK = mPxDriver.addKernelInstance<ParabixCharacterClassKernelBuilder>(iBuilder, "extenders", std::vector<re::CC *>{re::makeCC(0xFF)}, 8);
    477     mPxDriver.makeKernelCall(extenderK, {mCompressedBasisBits}, {Extenders});
     474//    StreamSetBuffer * const Extenders = mPxDriver.addBuffer<StaticBuffer>(iBuilder, iBuilder->getStreamSetTy(1, 1), this->getInputBufferBlocks(iBuilder), 1);
     475//    mMatchOffsetMarker = mPxDriver.addBuffer<StaticBuffer>(iBuilder, iBuilder->getStreamSetTy(1, 1), this->getInputBufferBlocks(iBuilder));
     476//    Kernel * extenderK = mPxDriver.addKernelInstance<ParabixCharacterClassKernelBuilder>(iBuilder, "extenders", std::vector<re::CC *>{re::makeCC(0xFF)}, 8);
     477//    mPxDriver.makeKernelCall(extenderK, {mCompressedBasisBits}, {Extenders});
    478478
    479479    Kernel * blockDecoderK = mPxDriver.addKernelInstance<LZ4BlockDecoderNewKernel>(iBuilder);
     
    490490            {
    491491                    mCompressedByteStream,
    492                     Extenders,
    493492
    494493                    // Block Data
  • icGREP/icgrep-devel/icgrep/lz4/LZ4GrepGenerator.cpp

    r6066 r6070  
    610610    this->generateCountOnlyMainFunc(iBuilder);
    611611
    612     this->generateLoadByteStreamAndBitStream(iBuilder);
     612    this->generateLoadByteStream(iBuilder);
    613613    parabix::StreamSetBuffer * decompressedByteStream = this->generateParallelAIODecompression(iBuilder);
    614614
Note: See TracChangeset for help on using the changeset viewer.