SkePU(integratedwithStarPU)  0.8.1
 All Classes Namespaces Files Functions Enumerations Friends Macros Groups Pages
operator_macros.h
Go to the documentation of this file.
1 
5 #ifndef OPERATOR_MACROS_H
6 #define OPERATOR_MACROS_H
7 
8 #include "operator_type.h"
9 
10 
11 // Can use either CUDA or OpenCL at a time, i.e. cannot use both at the same time.
12 
13 #if defined(SKEPU_OPENCL) && !defined(SKEPU_CUDA)
14 
15  #include "operator_macros_cl.inl"
16 
17 #elif !defined(SKEPU_OPENCL) && defined(SKEPU_CUDA)
18 
19  #include "operator_macros_cu.inl"
20 
21 #elif !defined(SKEPU_OPENCL) && !defined(SKEPU_CUDA)
22 
23  #include "operator_macros_cpu.inl"
24 
25 #else
26 
27  #error "Error: Cannot use both CUDA and OpenCL at the same time."
28 
29 #endif
30 
31 
32 #endif
33 
Contains macro defintions for user functions using OpenCL and CPU/OpenMP backend. ...
Contains macro defintions for user functions using CUDA and CPU/OpenMP backend.
Contains macro defintions for user functions using CPU/OpenMP backend.
Declares an enumeration with the different user function types.