summaryrefslogtreecommitdiffstats
path: root/resources/OpenCL.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'resources/OpenCL.cfg')
-rw-r--r--resources/OpenCL.cfg11
1 files changed, 10 insertions, 1 deletions
diff --git a/resources/OpenCL.cfg b/resources/OpenCL.cfg
index f9aee405..03c89280 100644
--- a/resources/OpenCL.cfg
+++ b/resources/OpenCL.cfg
@@ -15,10 +15,19 @@ JavaClass CL
JavaOutputDir gensrc/java
NativeOutputDir gensrc/native
+#map pointers to long as internal representation
+Opaque long cl_context
Opaque long cl_device_type
+Opaque long cl_command_queue
+Opaque long cl_mem
+Opaque long cl_program
+Opaque long cl_kernel
+Opaque long cl_event
+Opaque long cl_sampler
+
Opaque int cl_platform_id
Opaque int cl_device_id
-Opaque long cl_context
#append to generated c files
CustomCCode #include <cl.h>
+#CustomCCode #include <CL/stdint.h>