Ignore:
Timestamp:
Apr 18, 2017, 10:41:50 PM (2 years ago)
Author:
cameron
Message:

Factor out CountOnly? and InvertMatches? as separate kernels

File:
1 edited

Legend:

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

    r5408 r5413  
    1414class ICgrepKernelBuilder: public pablo::PabloKernel {
    1515public:
    16     ICgrepKernelBuilder(IDISA::IDISA_Builder * const iBuilder, re::RE * const re_ast, const bool CountOnly = false);
     16    ICgrepKernelBuilder(IDISA::IDISA_Builder * const iBuilder, re::RE * const re_ast);
    1717   
    1818    std::string generateKernelSignature(std::string moduleId) override;
     
    2121
    2222private:
    23     const bool      mCountOnly;
    2423    re::RE * const  mRE;
    2524    std::string     mSignature;
    2625};
    2726
     27class InvertMatchesKernel : public BlockOrientedKernel {
     28public:
     29    InvertMatchesKernel(IDISA::IDISA_Builder * builder);
     30private:
     31    void generateDoBlockMethod() override;
     32};
     33
     34
     35class PopcountKernel : public pablo::PabloKernel {
     36public:
     37    PopcountKernel(IDISA::IDISA_Builder * builder);
     38};
     39
    2840}
    2941#endif
Note: See TracChangeset for help on using the changeset viewer.