Ignore:
Timestamp:
Aug 28, 2017, 4:00:17 PM (23 months ago)
Author:
nmedfort
Message:

Bug fixes for multigrep mode. Optional PabloKernel? branch hit counter added. Minor optimizations.

File:
1 edited

Legend:

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

    r5611 r5620  
    9494    }
    9595       
    96     void setName(std::string newName) { mKernelName = newName; }
    97 
    9896    virtual bool isCachable() const = 0;
    9997
     
    173171    llvm::Function * getTerminateFunction(llvm::Module * const module) const;
    174172
    175     KernelInterface(std::string kernelName,
     173    KernelInterface(const std::string && kernelName,
    176174                    std::vector<Binding> && stream_inputs,
    177175                    std::vector<Binding> && stream_outputs,
     
    198196    llvm::StructType *                      mKernelStateType;
    199197    unsigned                                mLookAheadPositions;
    200     std::string                             mKernelName;
     198    const std::string                       mKernelName;
    201199    std::vector<llvm::Value *>              mInitialArguments;
    202200    std::vector<Binding>                    mStreamSetInputs;
Note: See TracChangeset for help on using the changeset viewer.