summaryrefslogtreecommitdiffstats
path: root/resources/cl-impl.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'resources/cl-impl.cfg')
-rw-r--r--resources/cl-impl.cfg27
1 files changed, 17 insertions, 10 deletions
diff --git a/resources/cl-impl.cfg b/resources/cl-impl.cfg
index 5cf23c88..58fc5871 100644
--- a/resources/cl-impl.cfg
+++ b/resources/cl-impl.cfg
@@ -1,18 +1,15 @@
Include cl-common.cfg
-Package com.mbien.opencl
-
-Style InterfaceAndImpl
+Style ImplOnly
#imports for all generated java files
Import com.mbien.opencl.*
-#Import java.nio.*
+Import java.nio.IntBuffer
-ClassJavadoc CL /**
-ClassJavadoc CL * Java bindings to OpenCL, the Open Computing Language.
-ClassJavadoc CL * @autor Michael Bien
-ClassJavadoc CL */
-JavaClass CL
+ClassJavadoc CLImpl /**
+ClassJavadoc CLImpl * Java bindings to OpenCL, the Open Computing Language.
+ClassJavadoc CLImpl * @autor Michael Bien
+ClassJavadoc CLImpl */
ImplJavaClass CLImpl
Implements CLImpl CLGLI
@@ -20,4 +17,14 @@ Implements CLImpl CLGLI
#append to generated c files
CustomCCode #include <cl.h>
CustomCCode #include <gl3.h>
-CustomCCode #include <inttypes.h> \ No newline at end of file
+CustomCCode #include <inttypes.h>
+
+# implement manually via custom code
+Ignore clCreateContext
+Ignore clCreateContextFromType
+Ignore clBuildProgram
+Ignore clEnqueueNativeKernel
+
+#include custom code
+IncludeAs CustomJavaCode CLImpl clImplCustomCode.java
+IncludeAs CustomCCode clImplCustomCode.c