Ignore:
Timestamp:
Jan 5, 2017, 3:54:40 PM (2 years ago)
Author:
nmedfort
Message:

Code clean up to enforce proper calling order of KernelBuilder? methods

File:
1 edited

Legend:

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

    r5240 r5246  
    4141    // using the pablo.Count operation.
    4242   
    43     ~PabloKernel();
     43    virtual ~PabloKernel();
    4444
    4545    PabloBlock * getEntryBlock() {
     
    6565    }
    6666
    67     Var * addInput(const std::string name, Type * const type);
     67    Var * addInput(const std::string & name, Type * const type);
    6868
    6969    unsigned getNumOfInputs() const {
     
    110110    void prepareKernel() override;
    111111
    112     void generateDoBlockMethod() override;
     112    void generateDoBlockMethod() const override;
    113113   
    114     void initializeKernelState(Value * self) override;
     114    void initializeKernelState(Value * self) const override;
    115115
    116116    // The default method for Pablo final block processing sets the
    117117    // EOFmark bit and then calls the standard DoBlock function.
    118118    // This may be overridden for specialized processing.
    119     virtual void generateFinalBlockMethod() override;
     119    virtual void generateFinalBlockMethod() const override;
    120120
    121121    inline String * getName(const std::string & name) const {
Note: See TracChangeset for help on using the changeset viewer.