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/pablo/pablo_kernel.h

    r5297 r5299  
    4747    PabloKernel(IDISA::IDISA_Builder * builder, std::string kernelName);
    4848   
     49    PabloKernel(IDISA::IDISA_Builder * builder, std::string kernelName,                     
     50                    std::vector<Binding> && stream_inputs,
     51                    std::vector<Binding> && stream_outputs,
     52                    std::vector<Binding> && scalar_outputs);
     53
    4954    virtual ~PabloKernel();
    5055
     
    6267        return entryBlock;
    6368    }
     69   
     70    Var * getInputSet(std::string inputSetName);
    6471
    6572    Var * getInput(const unsigned index) {
     
    7683        return mInputs.size();
    7784    }
     85   
     86    Var * getOutputSet(std::string inputSetName);
    7887
    7988    Var * getOutput(const unsigned index) {
Note: See TracChangeset for help on using the changeset viewer.