Ignore:
Timestamp:
Apr 11, 2018, 5:48:08 PM (12 months ago)
Author:
nmedfort
Message:

Updated LZ4SwizzledMatchCopy + minor changes

File:
1 edited

Legend:

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

    r5966 r5967  
    1212
    1313namespace kernel {
    14     class LZ4SwizzledMatchCopyKernel final: public SegmentOrientedKernel {
     14    class LZ4SwizzledMatchCopyKernel: public SegmentOrientedKernel {
    1515    public:
    1616        LZ4SwizzledMatchCopyKernel(const std::unique_ptr<kernel::KernelBuilder> & iBuilder, unsigned streamCount, unsigned streamSize, unsigned swizzleFactor, unsigned PDEP_width = 64);
    1717    protected:
    18 //        void generateMultiBlockLogic(const std::unique_ptr<KernelBuilder> &iBuilder, llvm::Value * const numOfStrides) override;
     18
    1919        void generateDoSegmentMethod(const std::unique_ptr<KernelBuilder> & b) override;
     20
     21        void generateOutputCopy(const std::unique_ptr<KernelBuilder> & iBuilder);
     22
     23        llvm::Value * loadOffset(const std::unique_ptr<KernelBuilder> &iBuilder, const std::string & bufferName, llvm::Value* offset);
     24
    2025    private:
    2126
     
    2429        const unsigned mStreamSize;
    2530        const unsigned mStreamCount;
    26 
    27 
    28 
    29         void generateOutputCopy(const std::unique_ptr<KernelBuilder> &iBuilder, llvm::Value* outputBlocks);
    30 
    31         llvm::Value* mIsFinalBlock;
    32         llvm::Value* loadInt64NumberInput(const std::unique_ptr<KernelBuilder> &iBuilder, std::string bufferName, llvm::Value* offset);
    3331    };
    3432}
Note: See TracChangeset for help on using the changeset viewer.