aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/cl-program-if.cfg
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-01-26 02:14:26 +0100
committerSven Gothel <[email protected]>2014-01-26 02:14:26 +0100
commitaac4c5fc4ab7c77eff3b71f518100dd182ec2c33 (patch)
tree3883e6e9a97146a0cbf503ff67f7b58870fe22dd /make/config/cl-program-if.cfg
parentac84afd26ad3b34851a423fb90e6c819b9dc9495 (diff)
Cleanup Build: GlueGen config files, stub_includes; Add JoclVersion, Android JoclVersionActivity
Cleanup Build: - Move gluegen config files into make/config (cleanup) - Move stub_includes into respective folder make/stub_includes and keep resources 'clean' JoclVersion: - Analoge to JoglVersion, replaces JOCLVersion (deprecated for now) - Added text based CL info dump. JoclVersionActivity: - Analog to JoclVersionActivity - Added full launch .. tested on Android (but no OpenCL avail.)
Diffstat (limited to 'make/config/cl-program-if.cfg')
-rw-r--r--make/config/cl-program-if.cfg18
1 files changed, 18 insertions, 0 deletions
diff --git a/make/config/cl-program-if.cfg b/make/config/cl-program-if.cfg
new file mode 100644
index 00000000..7b72272f
--- /dev/null
+++ b/make/config/cl-program-if.cfg
@@ -0,0 +1,18 @@
+Include cl-common.cfg
+
+Style InterfaceOnly
+
+Import com.jogamp.opencl.llb.impl.BuildProgramCallback
+
+ClassJavadoc CLProgramBinding /**
+ClassJavadoc CLProgramBinding * Java bindings to OpenCL programs.
+ClassJavadoc CLProgramBinding * @author Michael Bien, GlueGen, et al.
+ClassJavadoc CLProgramBinding */
+JavaClass CLProgramBinding
+
+IgnoreNot .*CreateProgramWith.*|.*Program.*Info.*|.*RetainProgram.*|.*ReleaseProgram.*|CL_PROGRAM_.*|CL_BUILD_.*
+
+#custom implementations
+CustomJavaCode CLProgramBinding
+CustomJavaCode CLProgramBinding /** Interface to C language function: <br> <code> int32_t {@native clBuildProgram}(cl_program, uint32_t, cl_device_id * , const char * , void (*pfn_notify)(cl_program, void *user_data), void * ); </code> */
+CustomJavaCode CLProgramBinding public int clBuildProgram(long program, int deviceCount, PointerBuffer devices, String options, BuildProgramCallback cb);