Ignore:
Timestamp:
May 7, 2018, 1:15:37 PM (6 weeks ago)
Author:
xwa163
Message:
  1. New version of lz4_swizzled_match_copy kernel with higher performance
  2. Adjust related pipeline code
  3. Remove legacy comments
File:
1 edited

Legend:

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

    r5981 r6020  
    1 //
    2 // Created by wxy325 on 2018/3/9.
    3 //
    41
    5 #ifndef ICGREP_LZ4_SWIZZLED_MATCH_COPY_KERNEL_H
    6 #define ICGREP_LZ4_SWIZZLED_MATCH_COPY_KERNEL_H
     2#ifndef ICGREP_LZ4_SWIZZLED_MATCH_COPY_KERNEL2_H
     3#define ICGREP_LZ4_SWIZZLED_MATCH_COPY_KERNEL2_H
     4
    75
    86#include "kernels/kernel.h"
     
    1715    protected:
    1816        void generateDoSegmentMethod(const std::unique_ptr<KernelBuilder> & b) override;
    19         void generateOutputCopy(const std::unique_ptr<KernelBuilder> & iBuilder);
    2017
    2118    private:
     
    2623        const unsigned mStreamCount;
    2724        std::pair<llvm::Value*, llvm::Value*> loadNextMatchOffset(const std::unique_ptr<KernelBuilder> &iBuilder);
    28         std::pair<llvm::Value*, llvm::Value*> loadNextM0StartEnd(const std::unique_ptr<KernelBuilder> &iBuilder);
    2925        llvm::Value *advanceUntilNextBit(const std::unique_ptr<KernelBuilder> &iBuilder, std::string inputName,
    3026                                          llvm::Value *startPos, bool isNextOne);
    31 
    32         llvm::Value* doMatchCopy(const std::unique_ptr<KernelBuilder> & iBuilder, llvm::Value* matchPos, llvm::Value* matchOffset, llvm::Value* matchLength);
    33 
    3427    };
    3528}
    3629
    37 
    38 
    39 
    40 #endif //ICGREP_LZ4_SWIZZLED_MATCH_COPY_KERNEL_H
     30#endif //ICGREP_LZ4_SWIZZLED_MATCH_COPY_KERNEL2_H
Note: See TracChangeset for help on using the changeset viewer.