Ignore:
Timestamp:
Jan 8, 2017, 11:51:40 AM (3 years ago)
Author:
cameron
Message:

Allow for override of kernel init method.

Location:
icGREP/icgrep-devel/icgrep/pablo
Files:
2 edited

Legend:

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

    r5247 r5250  
    131131}
    132132
    133 void PabloKernel::initializeKernelState(Value * self) const {
    134     iBuilder->CreateStore(ConstantAggregateZero::get(mKernelStateType), self);   
    135 }
    136 
    137133PabloKernel::PabloKernel(IDISA::IDISA_Builder * builder, const std::string & kernelName)
    138134: KernelBuilder(builder, kernelName, {}, {}, {}, {}, {Binding{builder->getBitBlockType(), "EOFbit"}, Binding{builder->getBitBlockType(), "EOFmask"}})
  • icGREP/icgrep-devel/icgrep/pablo/pablo_kernel.h

    r5246 r5250  
    112112    void generateDoBlockMethod() const override;
    113113   
    114     void initializeKernelState(Value * self) const override;
    115 
    116114    // The default method for Pablo final block processing sets the
    117115    // EOFmark bit and then calls the standard DoBlock function.
Note: See TracChangeset for help on using the changeset viewer.