Ignore:
Timestamp:
Dec 4, 2018, 1:48:37 PM (6 months ago)
Author:
cameron
Message:

Abort on null: DirectCharacterClassKernel?, on by default

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/grep/grep_engine.cpp

    r6213 r6216  
    317317                P->CreateKernelCall<ByteBitGrepKernel>(prefixRE, suffixRE, ByteStream, MatchResults, externals);
    318318            }
     319            Kernel * LB_nullK = P->CreateKernelCall<DirectCharacterClassKernelBuilder>( "breakCC", std::vector<re::CC *>{mBreakCC}, ByteStream, LineBreakStream, callbackObject);
     320            mGrepDriver.LinkFunction(LB_nullK, "signal_dispatcher", kernel::signal_dispatcher);
    319321            P->CreateKernelCall<DirectCharacterClassKernelBuilder>( "breakCC", std::vector<re::CC *>{mBreakCC}, ByteStream, LineBreakStream);
    320322            requiresComplexTest = false;
     
    328330            P->CreateKernelCall<S2P_PabloKernel>(ByteStream, BasisBits);
    329331        } else {
    330             P->CreateKernelCall<S2PKernel>(ByteStream, BasisBits);
     332            Kernel * s2pK = P->CreateKernelCall<S2PKernel>(ByteStream, BasisBits, cc::BitNumbering::LittleEndian, callbackObject);
     333            mGrepDriver.LinkFunction(s2pK, "signal_dispatcher", kernel::signal_dispatcher);
    331334        }
    332335
Note: See TracChangeset for help on using the changeset viewer.