Ignore:
Timestamp:
Jan 16, 2018, 4:22:13 PM (16 months ago)
Author:
nmedfort
Message:

Added PabloBlock/Builder? createScope() methods + minor code changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/linebreak_kernel.h

    r5824 r5836  
    88#include <pablo/pablo_kernel.h>  // for PabloKernel
    99
     10#define USE_DIRECT_LF_BUILDER
     11
    1012namespace kernel { class KernelBuilder; }
    1113
    1214namespace kernel {
    1315
    14 class DirectLineFeedBuilder final : public pablo::PabloKernel {
    15 public:
    16     DirectLineFeedBuilder(const std::unique_ptr<KernelBuilder> & b);
    17     bool isCachable() const override { return true; }
    18     bool hasSignature() const override { return false; }
    19 protected:
    20     void generatePabloMethod() override;
    21 };
    22 
    23 
    2416class LineFeedKernelBuilder final : public pablo::PabloKernel {
    2517public:
    26     LineFeedKernelBuilder(const std::unique_ptr<KernelBuilder> & b, unsigned basisBitsCount);
     18    LineFeedKernelBuilder(const std::unique_ptr<KernelBuilder> & b, unsigned codeUnitWidth = 8);
    2719    bool isCachable() const override { return true; }
    2820    bool hasSignature() const override { return false; }
Note: See TracChangeset for help on using the changeset viewer.