source: icGREP/icgrep-devel/icgrep/kernels/fake_stream_generating_kernel.h

Last change on this file was 6184, checked in by nmedfort, 9 months ago

Initial version of PipelineKernel? + revised StreamSet? model.

File size: 842 bytes
Line 
1
2#ifndef ICGREP_LZ4_FAKE_STREAM_GENERATING_KERNEL_H
3#define ICGREP_LZ4_FAKE_STREAM_GENERATING_KERNEL_H
4
5#include <kernels/kernel.h>
6
7namespace IDISA { class IDISA_Builder; }
8
9namespace kernel {
10
11    class FakeStreamGeneratingKernel final : public SegmentOrientedKernel {
12    public:
13        FakeStreamGeneratingKernel(const std::unique_ptr<kernel::KernelBuilder> & b, StreamSet * refStream, StreamSet * outputStream);
14        FakeStreamGeneratingKernel(const std::unique_ptr<kernel::KernelBuilder> & b, StreamSet * refStream, const StreamSets & outputStreams);
15        bool isCachable() const override { return true; }
16        bool hasSignature() const override { return false; }
17    protected:
18        void generateDoSegmentMethod(const std::unique_ptr<KernelBuilder> &) final;
19    };
20}
21
22
23#endif //ICGREP_LZ4_FAKE_STREAM_GENERATING_KERNEL_H
Note: See TracBrowser for help on using the repository browser.