Ignore:
Timestamp:
Jan 17, 2017, 12:00:43 PM (2 years ago)
Author:
cameron
Message:

New doSegment partial progress

File:
1 edited

Legend:

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

    r5260 r5263  
    2525static const std::string doBlock_suffix = "_DoBlock";
    2626static const std::string doSegment_suffix = "_DoSegment";
    27 static const std::string finalSegment_suffix = "_FinalSegment";
    2827static const std::string finalBlock_suffix = "_FinalBlock";
    2928static const std::string accumulator_infix = "_get_";
     
    4140     */
    4241   
    43     std::string getName() { return mKernelName;}
     42    std::string getName() const { return mKernelName;}
    4443       
    4544    std::vector<Binding> getStreamInputs() {return mStreamSetInputs;}
     
    5554    llvm::Value * getInstance() const { return mKernelInstance; }
    5655
    57     llvm::Value * createDoSegmentCall(llvm::Value * self, llvm::Value * blkCount) const;
    58     llvm::Value * createFinalSegmentCall(llvm::Value * self, llvm::Value * blkCount) const;
     56    llvm::Value * createDoSegmentCall(std::vector<llvm::Value *> args) const;
    5957    llvm::Value * createFinalBlockCall(llvm::Value * self, llvm::Value * remainingBytes) const;
    6058    llvm::Value * createGetAccumulatorCall(llvm::Value * self, std::string accumName) const;
Note: See TracChangeset for help on using the changeset viewer.