Ignore:
Timestamp:
Apr 22, 2017, 4:03:25 PM (2 years ago)
Author:
nmedfort
Message:

Removed non-functional CUDA code from icgrep and consolidated grep and multigrep mode into a single function; allowed segment parallel pipeline to utilize process as its initial thread; modified MMapSourceKernel to map and perform mmap directly and advise the OS to drop consumed data streams.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/re/re_parser.cpp

    r5308 r5418  
    644644    RE * propValueRe = RE_Parser::parse("^" + regexValue + "$", fModeFlagSet, mReSyntax);
    645645    GrepEngine engine;
    646     engine.grepCodeGen("NamePattern", propValueRe, false, false, GrepType::PropertyValue);
     646    engine.grepCodeGen("NamePattern", { propValueRe }, false, false, GrepSource::Internal, GrepType::PropertyValue);
    647647    const auto matches = engine.grepPropertyValues(propName);
    648648    if (matches.empty()) {
     
    677677   
    678678    GrepEngine engine;
    679     engine.grepCodeGen("NamePattern", embedded, false, false, GrepType::NameExpression);
     679    engine.grepCodeGen("NamePattern", { embedded }, false, false, GrepSource::Internal, GrepType::NameExpression);
    680680    CC * codepoints = engine.grepCodepoints();
    681681   
Note: See TracChangeset for help on using the changeset viewer.