Ignore:
Timestamp:
May 3, 2017, 1:13:04 PM (2 years ago)
Author:
nmedfort
Message:

partial refactoring check in with change for Linda.

File:
1 edited

Legend:

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

    r5413 r5431  
    2929}
    3030
    31 inline std::string makeSignature(RE * const re_ast) {
    32     std::string signature = Printer_RE::PrintRE(re_ast);
    33     return signature;
    34 }
    35 
    36 ICgrepKernelBuilder::ICgrepKernelBuilder (IDISA::IDISA_Builder * const iBuilder, RE * const re_ast)
     31ICgrepKernelBuilder::ICgrepKernelBuilder (IDISA::IDISA_Builder * const iBuilder, RE * const re)
    3732: PabloKernel(iBuilder, "",
    3833              {Binding{iBuilder->getStreamSetTy(8), "basis"}, Binding{iBuilder->getStreamSetTy(1, 1), "linebreak"}},
     
    4035              {},
    4136              {})
    42 , mRE(re_ast)
    43 , mSignature(makeSignature(re_ast)) {
    44     setName("Parabix:" + sha1sum(mSignature));
     37, mRE(re)
     38, mSignature(Printer_RE::PrintRE(re)) {
     39    setName(sha1sum(mSignature));
    4540}
    4641
    47 std::string ICgrepKernelBuilder::generateKernelSignature(std::string moduleId) {
     42std::string ICgrepKernelBuilder::makeSignature() {
    4843    return mSignature;
    4944}
Note: See TracChangeset for help on using the changeset viewer.