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.cfg17
1 files changed, 9 insertions, 8 deletions
diff --git a/resources/cl-impl.cfg b/resources/cl-impl.cfg
index ecb3fe00..9a9526f1 100644
--- a/resources/cl-impl.cfg
+++ b/resources/cl-impl.cfg
@@ -6,13 +6,14 @@ Style ImplOnly
Import com.jogamp.opencl.*
Import com.jogamp.opencl.gl.CLGLI
-ClassJavadoc CLImpl /**
-ClassJavadoc CLImpl * Java bindings to OpenCL, the Open Computing Language.
-ClassJavadoc CLImpl * @author Michael Bien
-ClassJavadoc CLImpl */
+ClassJavadoc CLAbstractImpl /**
+ClassJavadoc CLAbstractImpl * Java bindings to OpenCL, the Open Computing Language (generated).
+ClassJavadoc CLAbstractImpl * @author Michael Bien
+ClassJavadoc CLAbstractImpl */
-ImplJavaClass CLImpl
-Implements CLImpl CLGLI
+ImplJavaClass CLAbstractImpl
+AccessControl CLAbstractImpl PUBLIC_ABSTRACT
+Implements CLAbstractImpl CLGLI
EmitProcAddressTable true
ProcAddressTableClassName CLProcAddressTable
@@ -36,7 +37,7 @@ ForceProcAddressGen clIcdGetPlatformIDsKHR
Unignore clGetExtensionFunctionAddress
RenameJavaMethod clGetExtensionFunctionAddress clGetExtensionFunctionAddressImpl
-AccessControl clGetExtensionFunctionAddressImpl PRIVATE
+AccessControl clGetExtensionFunctionAddressImpl PROTECTED
ArgumentIsString clGetExtensionFunctionAddressImpl 0
#append to generated c files
@@ -58,7 +59,7 @@ ReturnValueCapacity clEnqueueMapBuffer {5}
ManuallyImplement clEnqueueMapImage
#include custom code
-IncludeAs CustomJavaCode CLImpl clImplCustomCode.java
+IncludeAs CustomJavaCode CLAbstractImpl clImplCustomCode.java
IncludeAs CustomCCode clImplCustomCode.c
#JavaEpilogue clCreateKernelsInProgram if(kernels!=null && CPU.is32Bit() && kernels.lenght > 1) { convert32To64(kernels); }