Ignore:
Timestamp:
Oct 18, 2017, 12:59:35 PM (2 years ago)
Author:
cameron
Message:

Complete the scanmatch kernel conversion to use MatchAccumulator? objects

Location:
icGREP/icgrep-devel/icgrep/toolchain
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/toolchain/grep_pipeline.cpp

    r5694 r5695  
    7878    pxDriver.makeKernelCall(matchedLinesK, {MatchResults, LineBreakStream}, {MatchedLines});
    7979   
    80     kernel::Kernel * scanMatchK = pxDriver.addKernelInstance(make_unique<kernel::ScanMatchKernel>(idb, GrepType::CallBack, 8));
     80    kernel::Kernel * scanMatchK = pxDriver.addKernelInstance(make_unique<kernel::ScanMatchKernel>(idb));
    8181    scanMatchK->setInitialArguments({ConstantInt::get(idb->getIntAddrTy(), reinterpret_cast<intptr_t>(accum))});
    8282    pxDriver.makeKernelCall(scanMatchK, {MatchedLines, LineBreakStream, ByteStream}, {});
  • icGREP/icgrep-devel/icgrep/toolchain/grep_pipeline.h

    r5694 r5695  
    2222
    2323void accumulate_match_wrapper(intptr_t accum_addr, const size_t lineNum, char * line_start, char * line_end);
     24
     25void finalize_match_wrapper(intptr_t accum_addr, char * buffer_end);
    2426   
    2527void grepBuffer(re::RE * pattern, const char * buffer, size_t bufferLength, MatchAccumulator * accum);
Note: See TracChangeset for help on using the changeset viewer.