source: icGREP/icgrep-devel/icgrep/kernels/streams_merge.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: 617 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 STREAMSMERGE_H
6#define STREAMSMERGE_H
7
8#include "kernel.h"
9namespace IDISA { class IDISA_Builder; }
10
11namespace kernel {
12
13class StreamsMerge : public BlockOrientedKernel {
14public:
15   
16    StreamsMerge(const std::unique_ptr<kernel::KernelBuilder> & iBuilder, unsigned streamsPerSet=1, unsigned inputSets = 1);
17   
18protected:
19   
20    void generateDoBlockMethod() override;
21   
22private:
23    const unsigned mStreamsPerSet;
24    const unsigned mInputSets;
25};
26
27}
28   
29#endif
30
Note: See TracBrowser for help on using the repository browser.