source: icGREP/icgrep-devel/icgrep/kernels/evenodd.h @ 5436

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

Continued refactoring work. PabloKernel? now abstract base type with a 'generatePabloMethod' hook to generate Pablo code.

File size: 560 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 */
5#ifndef EVEN_ODD_H
6#define EVEN_ODD_H
7
8#include "kernel.h"  // for KernelBuilder
9namespace IDISA { class IDISA_Builder; }  // lines 14-14
10namespace llvm { class Value; }
11
12namespace kernel {
13
14class EvenOddKernel : public BlockOrientedKernel {
15public:
16    EvenOddKernel(const std::unique_ptr<kernel::KernelBuilder> & builder);
17    virtual ~EvenOddKernel() {}
18private:
19    void generateDoBlockMethod() override;
20
21};
22
23}
24#endif
Note: See TracBrowser for help on using the repository browser.