Ignore:
Timestamp:
Jul 15, 2016, 10:04:55 PM (3 years ago)
Author:
cameron
Message:

Initial doSegment support; pipeline generation

File:
1 edited

Legend:

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

    r5076 r5086  
    1414#include "streamset.h"
    1515
     16   
    1617struct ScalarBinding {
    1718    llvm::Type * scalarType;
     
    2627const std::string init_suffix = "_Init";
    2728const std::string doBlock_suffix = "_DoBlock";
     29const std::string doSegment_suffix = "_DoSegment";
    2830const std::string finalBlock_suffix = "_FinalBlock";
    2931const std::string accumulator_infix = "_get_";
     
    5456   
    5557    llvm::Value * createInstance(std::vector<llvm::Value *> initialParameters);
     58    llvm::Value * createInstance(std::vector<llvm::Value *> initialParameters, std::vector<kernel::StreamSetBuffer *> inputs, std::vector<kernel::StreamSetBuffer *> outputBuffers);
    5659    llvm::Value * createDoBlockCall(llvm::Value * kernelInstance, std::vector<Value *> streamSets);
     60    llvm::Value * createDoSegmentCall(llvm::Value * kernelInstance, llvm::Value * blkCount);
    5761    llvm::Value * createFinalBlockCall(llvm::Value * kernelInstance, llvm::Value * remainingBytes, std::vector<llvm::Value *> streamSets);
    5862    llvm::Value * createGetAccumulatorCall(llvm::Value * kernelInstance, std::string accumName);
    5963   
    60 protected:
     64//protected:
    6165   
    6266    IDISA::IDISA_Builder * iBuilder;
     
    7074    llvm::Type * mKernelStateType;
    7175};
    72 
    7376#endif
Note: See TracChangeset for help on using the changeset viewer.