source: icGREP/icgrep-devel/icgrep/kernels/lz4_bytestream_decoder.h @ 5549

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

Large refactoring step. Removed IR generation code from Kernel (formally KernelBuilder?) and moved it into the new KernelBuilder? class.

File size: 708 bytes
Line 
1/*
2 *  Copyright (c) 2017 International Characters.
3 *  This software is licensed to the public under the Open Software License 3.0.
4 *  icgrep is a trademark of International Characters.
5 */
6
7#ifndef LZ4_BYTESTREAM_DECODER_H
8#define LZ4_BYTESTREAM_DECODER_H
9
10#include "kernel.h"
11
12namespace IDISA { class IDISA_Builder; }
13
14namespace kernel {
15
16class LZ4ByteStreamDecoderKernel : public BlockOrientedKernel {
17public:
18    LZ4ByteStreamDecoderKernel(const std::unique_ptr<kernel::KernelBuilder> & iBuilder, size_t bufferSize);
19protected:
20    void generateDoBlockMethod(const std::unique_ptr<kernel::KernelBuilder> & iBuilder) override;
21private:
22    size_t mBufferSize;
23};
24
25}
26
27#endif  // LZ4_BYTESTREAM_DECODER_H
Note: See TracBrowser for help on using the repository browser.