forked from hxmhuang/OpenArray_Dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathKernel.hpp
More file actions
41 lines (34 loc) · 743 Bytes
/
Copy pathKernel.hpp
File metadata and controls
41 lines (34 loc) · 743 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
* Kernel.hpp
* kernel function declarations
*
=======================================================*/
#ifndef __KERNEL_HPP__
#define __KERNEL_HPP__
#include "NodePool.hpp"
#include "NodeDesc.hpp"
#include "Function.hpp"
#include "Internal.hpp"
#include <vector>
using namespace std;
///:mute
///:include "NodeType.fypp"
///:endmute
///:for m in MODULES
#include "modules/${m}$/kernel.hpp"
///:endfor
namespace oa {
namespace kernel {
///:mute
///:include "NodeType.fypp"
///:endmute
///:for k in [i for i in L if i[3] in ['G','']]
///:set name = k[1]
///:set sy = k[2]
///:set ef = k[7]
// return ANS = ${ef}$
ArrayPtr kernel_${name}$(vector<ArrayPtr> &ops_ap);
///:endfor
}
}
#endif