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/kernel.h

    r5076 r5086  
    1313#include <IDISA/idisa_builder.h>
    1414#include <boost/container/flat_map.hpp>
     15
     16const std::string blockNoScalar = "blockNo";
     17const std::string basePtrSuffix = "_basePtr";
     18const std::string blkMaskSuffix = "_blkMask";
    1519
    1620
     
    3741    void generateKernel();
    3842   
    39 protected:
     43//protected:
    4044    //
    4145    // Kernel builder subtypes define their logic of kernel construction
     
    6468    virtual void generateFinalBlockMethod();
    6569   
     70    void generateDoSegmentMethod();
     71   
    6672    // Add an additional scalar field to the KernelState struct.
    6773    // Must occur before any call to addKernelDeclarations or createKernelModule.
     
    8793    llvm::Value * getParameter(llvm::Function * f, std::string paramName);
    8894
    89 protected:
     95//protected:
    9096
    9197    std::vector<llvm::Type *>  mKernelFields;
Note: See TracChangeset for help on using the changeset viewer.