Ignore:
Timestamp:
Jun 25, 2016, 9:07:07 AM (3 years ago)
Author:
cameron
Message:

Kernel infrastructure: move common logic into KernelBuilder? base class; demo linking in wc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/pablo_kernel.h

    r5062 r5074  
    2525    // using the pablo.Count operation.
    2626   
     27protected:
    2728    // A custom method for preparing kernel declarations is needed,
    2829    // so that the carry data requirements may be accommodated before
    2930    // finalizing the KernelStateType.
    30     void prepareKernel();
     31    void prepareKernelStateType() override;
    3132
    32     void generateKernel() override;
     33    void generateDoBlockMethod() override;
    3334   
    34 protected:
    3535    // The default method for Pablo final block processing sets the
    3636    // EOFmark bit and then calls the standard DoBlock function.
    3737    // This may be overridden for specialized processing.
    38     virtual void addFinalBlockMethod(Module * m);
     38    virtual void generateFinalBlockMethod() override;
    3939   
    4040    PabloFunction * mPabloFunction;
Note: See TracChangeset for help on using the changeset viewer.