source: icGREP/icgrep-devel/icgrep/kernels/streams_merge.h @ 5385

Last change on this file since 5385 was 5338, checked in by lindanl, 2 years ago

Provide option to build separated kernels for each regular expression.

File size: 593 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(IDISA::IDISA_Builder * 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.