Ignore:
Timestamp:
Jun 17, 2016, 5:47:48 AM (3 years ago)
Author:
cameron
Message:

Pablo Kernel progress

File:
1 edited

Legend:

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

    r5057 r5059  
    1212#include <pablo/function.h>
    1313
     14class PabloCompiler;
    1415
    1516namespace pablo {
    1617
    17 class PabloKernel : KernelSignature {
     18class PabloKernel : public KernelInterface {
    1819public:
    1920    PabloKernel(IDISA::IDISA_Builder * builder,
    2021                    std::string kernelName,
    2122                    PabloFunction * function,
    22                     std::vector<string> accumulators);
     23                    std::vector<std::string> accumulators);
    2324// At present only population count accumulator are supported,
    2425// using the pablo.Count operation.
     
    3132    // This may be overridden for specialized processing.
    3233    virtual void addFinalBlockMethod(Module * m);
     34   
     35    PabloFunction * mPabloFunction;
    3336
     37    std::vector<ScalarBinding> accumBindings(std::vector<std::string> accum_names);
     38
     39    friend class PabloCompiler;
    3440};
    3541}
Note: See TracChangeset for help on using the changeset viewer.