Ignore:
Timestamp:
Feb 24, 2017, 5:36:52 PM (3 years ago)
Author:
cameron
Message:

setName method for kernels; so that two instances may be created.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/interface.h

    r5331 r5346  
    8383   
    8484    const std::string & getName() const { return mKernelName; }
     85
     86    void setName(std::string newName) { mKernelName = newName; }
    8587       
    8688    const std::vector<Binding> & getStreamInputs() const { return mStreamSetInputs; }
     
    158160   
    159161    IDISA::IDISA_Builder * const iBuilder;
    160     const std::string mKernelName;
     162    std::string mKernelName;
    161163    std::vector<llvm::Value *> mInitialArguments;
    162164    std::vector<Binding> mStreamSetInputs;
Note: See TracChangeset for help on using the changeset viewer.