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/kernels/cc_kernel.h

    r6184 r6216  
    77
    88#include <pablo/pablo_kernel.h>
     9#include <kernels/callback.h>
    910
    1011namespace IDISA { class IDISA_Builder; }
     
    1516class DirectCharacterClassKernelBuilder final : public pablo::PabloKernel {
    1617public:   
    17     DirectCharacterClassKernelBuilder(const std::unique_ptr<KernelBuilder> & b, std::string ccSetName, std::vector<re::CC *> charClasses, StreamSet * byteStream, StreamSet * ccStream);
     18    DirectCharacterClassKernelBuilder(const std::unique_ptr<KernelBuilder> & b, std::string ccSetName, std::vector<re::CC *> charClasses, StreamSet * byteStream, StreamSet * ccStream, Scalar * signalNullObject = nullptr);
    1819protected:
    1920    void generatePabloMethod() override;
     21    Bindings makeInputScalarBindings(Scalar * signalNullObject);
    2022private:
    2123    const std::vector<re::CC *> mCharClasses;
     24    bool mAbortOnNull;
    2225};
    2326
Note: See TracChangeset for help on using the changeset viewer.