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

Last change on this file was 6286, checked in by cameron, 6 months ago

Work on optimization branch + some fixes

File size: 526 bytes
Line 
1#ifndef ZEROEXTEND_H
2#define ZEROEXTEND_H
3
4#include "kernel.h"
5
6namespace kernel {
7
8class ZeroExtend final : public MultiBlockKernel {
9public:
10    ZeroExtend(const std::unique_ptr<KernelBuilder> &b,
11               StreamSet * const input, StreamSet * const output);
12    bool isCachable() const override { return true; }
13    bool hasSignature() const override { return false; }
14    void generateMultiBlockLogic(const std::unique_ptr<KernelBuilder> & b, llvm::Value * const numOfStrides) override;
15};
16
17}
18
19#endif // ZEROEXTEND_H
Note: See TracBrowser for help on using the repository browser.