Ignore:
Timestamp:
Apr 15, 2017, 4:42:33 PM (2 years ago)
Author:
nmedfort
Message:

First attempt to allow Kernels to wait for consumers to finish processing before performing a realloc.

File:
1 edited

Legend:

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

    r5404 r5408  
    77
    88#include <pablo/pablo_kernel.h>  // for PabloKernel
    9 #include "kernel.h"              // for KernelBuilder
    10 #include <re/re_re.h>
    11 #include <vector>                // for vector
    12 #include <string>                // for string
     9
    1310namespace IDISA { class IDISA_Builder; }
    14 
     11namespace re { class RE; }
    1512namespace kernel {
    1613
    1714class ICgrepKernelBuilder: public pablo::PabloKernel {
    1815public:
    19     ICgrepKernelBuilder(IDISA::IDISA_Builder * iBuilder, re::RE * re_ast, bool CountOnly = false);
     16    ICgrepKernelBuilder(IDISA::IDISA_Builder * const iBuilder, re::RE * const re_ast, const bool CountOnly = false);
    2017   
    2118    std::string generateKernelSignature(std::string moduleId) override;
     
    2421
    2522private:
    26     bool mCountOnly;
    27     re::RE * mRE;
    28     std::string mSignature;
     23    const bool      mCountOnly;
     24    re::RE * const  mRE;
     25    std::string     mSignature;
    2926};
    3027
Note: See TracChangeset for help on using the changeset viewer.