diff options
Diffstat (limited to 'src/core/program.h')
-rw-r--r-- | src/core/program.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/core/program.h b/src/core/program.h index 3e4d641..7b8e4fc 100644 --- a/src/core/program.h +++ b/src/core/program.h @@ -35,11 +35,19 @@ #define __PROGRAM_H__ #include "object.h" +#include "icd.h" #include <CL/cl.h> #include <string> #include <vector> +namespace Coal +{ + class Program; +} +struct _cl_program: public Coal::descriptor<Coal::Program, _cl_program> {}; + + namespace llvm { class MemoryBuffer; @@ -65,7 +73,7 @@ class Kernel; * It then contains functions to get the list of kernels available in the * program, using \c Coal::Kernel objects. */ -class Program : public Object +class Program : public _cl_program, public Object { public: /** @@ -307,7 +315,4 @@ class Program : public Object } -struct _cl_program : public Coal::Program -{}; - #endif |