Ignore:
Timestamp:
Feb 4, 2017, 6:49:46 AM (2 years ago)
Author:
cameron
Message:

Ability to set input/output signatures for Pablo functions in the constructor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/cc/cc_compiler.h

    r5267 r5299  
    1111#include <re/re_cc.h>
    1212#include <pablo/builder.hpp>
     13#include <kernels/interface.h>
    1314#include <string>
    1415
     
    2425
    2526    CC_Compiler(pablo::PabloKernel * kernel, const unsigned encodingBits = 8, const std::string prefix = "basis");
    26 
     27   
     28    CC_Compiler(pablo::PabloKernel * kernel, pablo::Var * basisBitSet);
     29   
    2730    pablo::PabloAST * compileCC(const re::CC *cc);
    2831
     
    6366private:   
    6467    pablo::PabloBuilder             mBuilder;
     68    const unsigned                  mEncodingBits;
    6569    std::vector<pablo::PabloAST *>  mBasisBit;
    66     const unsigned                  mEncodingBits;
    6770    unsigned                        mEncodingMask;
    6871};
Note: See TracChangeset for help on using the changeset viewer.