summaryrefslogtreecommitdiffstats
path: root/resources/OpenCL.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'resources/OpenCL.cfg')
-rw-r--r--resources/OpenCL.cfg24
1 files changed, 6 insertions, 18 deletions
diff --git a/resources/OpenCL.cfg b/resources/OpenCL.cfg
index 9ac199c1..5cf23c88 100644
--- a/resources/OpenCL.cfg
+++ b/resources/OpenCL.cfg
@@ -1,10 +1,12 @@
+Include cl-common.cfg
+
Package com.mbien.opencl
Style InterfaceAndImpl
#imports for all generated java files
Import com.mbien.opencl.*
-Import java.nio.*
+#Import java.nio.*
ClassJavadoc CL /**
ClassJavadoc CL * Java bindings to OpenCL, the Open Computing Language.
@@ -12,24 +14,10 @@ ClassJavadoc CL * @autor Michael Bien
ClassJavadoc CL */
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
-
-# TODO doublecheck if not int
-Opaque long cl_platform_id
-Opaque long cl_device_id
+ImplJavaClass CLImpl
+Implements CLImpl CLGLI
#append to generated c files
CustomCCode #include <cl.h>
CustomCCode #include <gl3.h>
-CustomCCode #include <inttypes.h>
+CustomCCode #include <inttypes.h> \ No newline at end of file