Ignore:
Timestamp:
Mar 20, 2018, 4:05:54 PM (13 months ago)
Author:
xwa163
Message:
  1. Initial checkin for new approach for lz4 index decoder that always use 4MB buffer
  2. Add test case for new approach (for now test cases will fail when test file is larger than 4MB)
File:
1 edited

Legend:

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

    r5874 r5921  
    3030    void generateExtractAndDepositOnlyPipeline(const std::string& outputFile);
    3131
    32 private:
    33     //// Private Method
     32protected:
     33    //// Protected Method
    3434    inline void generateMainFunc(const std::unique_ptr<kernel::KernelBuilder> & iBuilder);
    3535    // Pipeline
    36     inline void generateLoadByteStreamAndBitStream(const std::unique_ptr<kernel::KernelBuilder> & iBuilder);
    37     inline void generateExtractAndDepositMarkers(const std::unique_ptr<kernel::KernelBuilder> & iBuilder);
    38     inline std::pair<parabix::StreamSetBuffer*, parabix::StreamSetBuffer*> generateSwizzleExtractData(const std::unique_ptr<kernel::KernelBuilder> & iBuilder);
     36    virtual void generateLoadByteStreamAndBitStream(const std::unique_ptr<kernel::KernelBuilder> & iBuilder);
     37    virtual void generateExtractAndDepositMarkers(const std::unique_ptr<kernel::KernelBuilder> & iBuilder);
     38    virtual std::pair<parabix::StreamSetBuffer*, parabix::StreamSetBuffer*> generateSwizzleExtractData(const std::unique_ptr<kernel::KernelBuilder> & iBuilder);
    3939
    4040    // BufferSize related Helper Function
    41     inline int getInputBufferBlocks();
    42     inline int getDecompressedBufferBlocks();
     41    virtual int getInputBufferBlocks();
     42    virtual int getDecompressedBufferBlocks();
     43
    4344
    4445    //// Data Member
Note: See TracChangeset for help on using the changeset viewer.