source: icGREP/icgrep-devel/icgrep/kernels/p2s_kernel.h @ 5404

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

Moved toolchain and object_cache to kernels directory. Continued work on providing input consumed information.

File size: 1.2 KB
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 P2S_KERNEL_H
6#define P2S_KERNEL_H
7
8#include "kernel.h"  // for KernelBuilder
9namespace IDISA { class IDISA_Builder; }
10
11namespace kernel {
12
13   
14class P2SKernel : public BlockOrientedKernel {
15public:
16    P2SKernel(IDISA::IDISA_Builder * iBuilder);
17    bool moduleIDisSignature() override {return true;}
18private:
19    void generateDoBlockMethod() override;
20};
21
22class P2SKernelWithCompressedOutput : public BlockOrientedKernel {
23public:
24    P2SKernelWithCompressedOutput(IDISA::IDISA_Builder * iBuilder);   
25    bool moduleIDisSignature() override {return true;}
26private:
27    void generateDoBlockMethod() override;
28};
29
30class P2S16Kernel : public BlockOrientedKernel {
31public:
32    P2S16Kernel(IDISA::IDISA_Builder * iBuilder);
33    bool moduleIDisSignature() override {return true;}
34private:
35    void generateDoBlockMethod() override;
36};
37   
38class P2S16KernelWithCompressedOutput : public BlockOrientedKernel {
39public:
40    P2S16KernelWithCompressedOutput(IDISA::IDISA_Builder * iBuilder);
41    bool moduleIDisSignature() override {return true;}
42private:
43    void generateDoBlockMethod() override;
44};
45   
46}
47
48#endif
Note: See TracBrowser for help on using the repository browser.