Ignore:
Timestamp:
May 7, 2017, 4:34:48 PM (2 years ago)
Author:
nmedfort
Message:

Continued refactoring work. PabloKernel? now abstract base type with a 'generatePabloMethod' hook to generate Pablo code.

File:
1 edited

Legend:

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

    r5435 r5436  
    88#include <pablo/pablo_kernel.h>  // for PabloKernel
    99
    10 namespace IDISA { class IDISA_Builder; }
     10namespace kernel { class KernelBuilder; }
    1111
    1212namespace kernel {
     
    1414class LineBreakKernelBuilder final : public pablo::PabloKernel {
    1515public:
    16     LineBreakKernelBuilder(const std::unique_ptr<IDISA::IDISA_Builder> & b, unsigned basisBitsCount);
     16    LineBreakKernelBuilder(const std::unique_ptr<KernelBuilder> & b, unsigned basisBitsCount);
    1717    bool isCachable() const override { return true; }
    1818    bool moduleIDisSignature() const override { return true; }
    1919protected:
    20     void prepareKernel() override;
     20    void generatePabloMethod() override;
    2121};
    2222
Note: See TracChangeset for help on using the changeset viewer.