summaryrefslogtreecommitdiffstats
path: root/resources/OpenCL.cfg
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2009-09-10 01:57:52 +0200
committerMichael Bien <[email protected]>2009-09-10 01:57:52 +0200
commit2019f0de6f0299a61189d9c82e895d374dfc4d9d (patch)
tree4356f42aac488a22472f77052528b0665255b43d /resources/OpenCL.cfg
parentec4e5277a8d93a232c60946075aab1da2bb6b0c8 (diff)
mapped pointers to longs for internal use as handles
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>