Ignore:
Timestamp:
Jul 31, 2018, 2:31:21 PM (12 months ago)
Author:
xwa163
Message:
  1. Cleanup legacy slow LZ4 related kernels
  2. Rename lz4d_ext_dep to lz4_decompression
  3. Rename LZ4 AIO related kernels to LZ4 Decompression Kernel
File:
1 edited

Legend:

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

    r6132 r6136  
    2929public:
    3030    LZ4Generator();
    31 
    3231    MainFunctionType getMainFunc();
    3332
    34     void generatePipeline(const std::string &outputFile);
    35     void generateSwizzledPipeline(const std::string &outputFile);
    36     void generateNewExtractOnlyPipeline(const std::string &outputFile);
    37     void generateExtractOnlyPipeline(const std::string &outputFile);
    38     void generateSwizzledExtractOnlyPipeline(const std::string &outputFile);
    39     void generateExtractAndDepositOnlyPipeline(const std::string &outputFile);
    40     void generateSwizzledExtractAndDepositOnlyPipeline(const std::string &outputFile);
     33    void generateDecompressionPipeline(const std::string &outputFile);
     34protected:
    4135
    42 protected:
    4336    //// Protected Method
    4437    std::vector<parabix::StreamSetBuffer*> convertCompressedBitsStreamWithBitStreamAioApproach(
     
    4942    virtual void generateLoadByteStream(const std::unique_ptr<kernel::KernelBuilder> & iBuilder);
    5043    virtual void generateLoadByteStreamAndBitStream(const std::unique_ptr<kernel::KernelBuilder> & iBuilder);
    51     virtual void generateExtractAndDepositMarkers(const std::unique_ptr<kernel::KernelBuilder> & iBuilder);
    5244    virtual parabix::StreamSetBuffer * generateParallelAIODecompression(const std::unique_ptr<kernel::KernelBuilder> & iBuilder, bool enableGather, bool enableScatter, int minParallelLevel);
    5345    virtual parabix::StreamSetBuffer * generateAIODecompression(const std::unique_ptr<kernel::KernelBuilder> & iBuilder);
    5446    virtual parabix::StreamSetBuffer * generateSwizzledAIODecompression(const std::unique_ptr<kernel::KernelBuilder> & iBuilder);
    5547    virtual parabix::StreamSetBuffer * generateBitStreamAIODecompression(const std::unique_ptr<kernel::KernelBuilder> & iBuilder);
    56 
    57     virtual std::pair<parabix::StreamSetBuffer*, parabix::StreamSetBuffer*> generateSwizzleExtractData(const std::unique_ptr<kernel::KernelBuilder> & iBuilder);
    58     virtual parabix::StreamSetBuffer* generateBitStreamExtractData(const std::unique_ptr<kernel::KernelBuilder> & iBuilder);
    59 
    60     void generateCompressionMarker(const std::unique_ptr<kernel::KernelBuilder> & iBuilder);
    6148
    6249    // BufferSize related Helper Function
     
    7663    llvm::Value * mHasBlockChecksum;
    7764
    78 
    7965    // StreamSetBuffers
    8066    parabix::StreamSetBuffer * mCompressedByteStream;
    8167    parabix::StreamSetBuffer * mCompressedBasisBits;
    82     parabix::StreamSetBuffer * mDeletionMarker;
    83     parabix::StreamSetBuffer * mCompressionMarker;
    84     parabix::StreamSetBuffer * mDepositMarker;
    85     parabix::StreamSetBuffer * mMatchOffsetMarker;
    86 
    87     // M0CountMarker will not contain anything, it will only be used to pass producedItemCount and manage processedItemCount between different kernel
    88     parabix::StreamSetBuffer * mM0Marker;
    8968
    9069    unsigned mLz4BlockSize;
Note: See TracChangeset for help on using the changeset viewer.