SkePU  1.2
 All Classes Namespaces Files Functions Variables Enumerations Friends Macros Groups Pages
operator_type.h
Go to the documentation of this file.
1 
5 #ifndef OPERATOR_TYPE_H
6 #define OPERATOR_TYPE_H
7 
8 #ifdef SKEPU_OPENCL
9 #ifdef USE_MAC_OPENCL
10 #include <OpenCL/opencl.h>
11 #else
12 #include <CL/cl.h>
13 #endif
14 #include <string>
15 #endif
16 
17 #ifdef SKEPU_CUDA
18 #include <cuda.h>
19 #endif
20 
21 namespace skepu
22 {
23 
24 enum FuncType
25 {
26  UNARY,
27  BINARY,
28  TERNARY,
29  OVERLAP,
30  OVERLAP_2D,
31  ARRAY,
32  ARRAY_INDEX,
33  ARRAY_INDEX_BLOCK_WISE,
34  ARRAY_INDEX_SPARSE_BLOCK_WISE,
35  GENERATE,
36  GENERATE_MATRIX,
37  VAR_FUNC
38 };
39 
40 }
41 
42 #endif
43 
44