Ignore:
Timestamp:
Mar 30, 2018, 10:36:24 AM (16 months ago)
Author:
cameron
Message:

Direct CC builder work

File:
1 edited

Legend:

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

    r5820 r5935  
    1313namespace kernel {
    1414
    15 class DirectCharacterClassKernelBuilder final : public BlockOrientedKernel {
     15class DirectCharacterClassKernelBuilder final : public pablo::PabloKernel {
    1616public:   
    17     DirectCharacterClassKernelBuilder(const std::unique_ptr<KernelBuilder> & b, std::string ccSetName, std::vector<re::CC *> charClasses, unsigned codeUnitSize);
    18     void generateDoBlockMethod(const std::unique_ptr<KernelBuilder> & iBuilder) override;
    19     bool isCachable() const override { return true;}
    20     bool hasSignature() const override { return false; }
     17    DirectCharacterClassKernelBuilder(const std::unique_ptr<KernelBuilder> & b, std::string ccSetName, std::vector<re::CC *> charClasses);
     18protected:
     19    void generatePabloMethod() override;
    2120private:
    2221    const std::vector<re::CC *> mCharClasses;
    23     const unsigned              mCodeUnitSize;
    24    
    2522};
    2623
    2724class ParabixCharacterClassKernelBuilder final : public pablo::PabloKernel {
    2825public:
    29     ParabixCharacterClassKernelBuilder(const std::unique_ptr<KernelBuilder> & b, std::string ccSetName, const std::vector<re::CC *> & charClasses, unsigned codeUnitSize);
     26    ParabixCharacterClassKernelBuilder(const std::unique_ptr<KernelBuilder> & b, std::string ccSetName, const std::vector<re::CC *> & charClasses, unsigned codeUnitWidth);
    3027protected:
    3128    void generatePabloMethod() override;
Note: See TracChangeset for help on using the changeset viewer.