Ignore:
Timestamp:
Jan 30, 2018, 2:27:53 PM (20 months ago)
Author:
cameron
Message:

UseDirectCC option for charclasses kernel

File:
1 edited

Legend:

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

    r5748 r5854  
    1414
    1515struct CharClassesSignature {
    16     CharClassesSignature(const std::vector<re::CC *> & ccs);
     16    CharClassesSignature(const std::vector<re::CC *> & ccs, bool useDirectCC);
    1717protected:
     18    const bool mUseDirectCC;
    1819    const std::string mSignature;
    1920};
     
    2122class CharClassesKernel : public CharClassesSignature, public pablo::PabloKernel {
    2223public:
    23     CharClassesKernel(const std::unique_ptr<kernel::KernelBuilder> & iBuilder, std::vector<re::CC *> && ccs);
     24    CharClassesKernel(const std::unique_ptr<kernel::KernelBuilder> & iBuilder, std::vector<re::CC *> && ccs, bool useDirectCC = false);
    2425    bool hasSignature() const override { return true; }
    2526    std::string makeSignature(const std::unique_ptr<kernel::KernelBuilder> & iBuilder) override;
     
    2930protected:
    3031    std::vector<re::CC *> mCCs;
     32   
    3133};
    3234
Note: See TracChangeset for help on using the changeset viewer.