1 #include "Test.h"
2 #include "Pattern.h"
3 class PoolingBench:public Client::Suite
4     {
5         public:
6             PoolingBench(Testing::testID_t id);
7             virtual void setUp(Testing::testID_t,std::vector<Testing::param_t>& paramsArgs,Client::PatternMgr *mgr);
8             virtual void tearDown(Testing::testID_t,Client::PatternMgr *mgr);
9         private:
10             #include "PoolingBench_decl.h"
11 
12             Client::Pattern<q7_t> input;
13 
14             Client::LocalPattern<q7_t> tmpInput;
15             Client::LocalPattern<q7_t> output;
16             Client::LocalPattern<q15_t> temp;
17 
18             // Reference patterns are not loaded when we are in dump mode
19             Client::RefPattern<q7_t> ref;
20 
21             int DIM_IN_X;
22             int DIM_IN_Y;
23             int DIM_OUT_X;
24             int DIM_OUT_Y;
25             int IN_CHANNEL;
26             int DIM_FILTER_X;
27             int DIM_FILTER_Y;
28             int PAD_WIDTH;
29             int PAD_HEIGHT;
30             int STRIDE_X;
31             int STRIDE_Y;
32             int ACT_MIN;
33             int ACT_MAX;
34 
35             int repeatNb;
36 
37             q7_t *tmpin;
38             q7_t *outp;
39             q15_t *tempp;
40 
41     };
42