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

Last change on this file since 5403 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
RevLine 
[4987]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
[5267]8#include "kernel.h"  // for KernelBuilder
[4987]9namespace IDISA { class IDISA_Builder; }
10
11namespace kernel {
12
[5071]13   
[5283]14class P2SKernel : public BlockOrientedKernel {
[5071]15public:
[5261]16    P2SKernel(IDISA::IDISA_Builder * iBuilder);
[5402]17    bool moduleIDisSignature() override {return true;}
[5074]18private:
[5297]19    void generateDoBlockMethod() override;
[5071]20};
[5009]21
[5283]22class P2SKernelWithCompressedOutput : public BlockOrientedKernel {
[5079]23public:
[5261]24    P2SKernelWithCompressedOutput(IDISA::IDISA_Builder * iBuilder);   
[5402]25    bool moduleIDisSignature() override {return true;}
[5079]26private:
[5297]27    void generateDoBlockMethod() override;
[5079]28};
29
[5283]30class P2S16Kernel : public BlockOrientedKernel {
[5071]31public:
[5402]32    P2S16Kernel(IDISA::IDISA_Builder * iBuilder);
33    bool moduleIDisSignature() override {return true;}
[5074]34private:
[5297]35    void generateDoBlockMethod() override;
[5071]36};
37   
[5283]38class P2S16KernelWithCompressedOutput : public BlockOrientedKernel {
[5071]39public:
[5261]40    P2S16KernelWithCompressedOutput(IDISA::IDISA_Builder * iBuilder);
[5402]41    bool moduleIDisSignature() override {return true;}
[5074]42private:
[5297]43    void generateDoBlockMethod() override;
[5071]44};
45   
[4987]46}
47
48#endif
Note: See TracBrowser for help on using the repository browser.