Ignore:
Timestamp:
Feb 3, 2018, 12:02:14 PM (16 months ago)
Author:
cameron
Message:

Using DirectCC builder updates; speedup wc -l

File:
1 edited

Legend:

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

    r5859 r5861  
    1111
    1212namespace kernel {
    13 //#define USE_DIRECT_LF_BUILDER
     13#define USE_DIRECT_LF_BUILDER
    1414
    1515class LineFeedKernelBuilder final : public pablo::PabloKernel {
    1616public:
    17     LineFeedKernelBuilder(const std::unique_ptr<KernelBuilder> & b, unsigned codeUnitWidth = 8);
     17    LineFeedKernelBuilder(const std::unique_ptr<KernelBuilder> & b, kernel::Binding && inputStreamSet);
    1818    bool isCachable() const override { return true; }
    1919    bool hasSignature() const override { return false; }
    2020protected:
    2121    void generatePabloMethod() override;
     22    unsigned mNumOfStreams;
     23    unsigned mStreamFieldWidth;
    2224};
    2325
Note: See TracChangeset for help on using the changeset viewer.