source: icGREP/icgrep-devel/icgrep/kernels/linebreak_kernel.h @ 5435

Last change on this file since 5435 was 5435, checked in by nmedfort, 2 years ago

Continued refactoring work.

File size: 658 bytes
Line 
1/*
2 *  Copyright (c) 2016 International Characters.
3 *  This software is licensed to the public under the Open Software License 3.0.
4 */
5#ifndef LINEBREAK_KERNEL_H
6#define LINEBREAK_KERNEL_H
7
8#include <pablo/pablo_kernel.h>  // for PabloKernel
9
10namespace IDISA { class IDISA_Builder; }
11
12namespace kernel {
13
14class LineBreakKernelBuilder final : public pablo::PabloKernel {
15public:
16    LineBreakKernelBuilder(const std::unique_ptr<IDISA::IDISA_Builder> & b, unsigned basisBitsCount);
17    bool isCachable() const override { return true; }
18    bool moduleIDisSignature() const override { return true; }
19protected:
20    void prepareKernel() override;
21};
22
23}
24#endif
Note: See TracBrowser for help on using the repository browser.