diff options
author | Michael Bien <[email protected]> | 2009-09-23 01:32:54 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2009-09-23 01:32:54 +0200 |
commit | 0ac4a12fb74de16f41ee9ad46e917b45523bbac4 (patch) | |
tree | d9072115c60805c0f50df2ae4cd90227e6c10cea /resources/cl-if.cfg | |
parent | 8ba956a7df1b98ed2957a932debfce4c6d4cb848 (diff) |
splitted binding in core (CL) and CL-GL interop. (CLGLI)
began with custom impl. for functions with c -> java callbacks
added an utility which uncomments function parameter names in headers
Diffstat (limited to 'resources/cl-if.cfg')
-rw-r--r-- | resources/cl-if.cfg | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/resources/cl-if.cfg b/resources/cl-if.cfg new file mode 100644 index 00000000..6d23789d --- /dev/null +++ b/resources/cl-if.cfg @@ -0,0 +1,31 @@ +Include cl-common.cfg + +Style InterfaceOnly + +#imports for all generated java files +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 + +#ignore cl-gl interoperability funcions. Interface 'CL' is pure OpenCL. +Ignore CL_GL_.*|cl.*GL.* + +#custom implementations +Ignore clCreateContext +CustomJavaCode CL /** Interface to C language function: <br> <code> cl_context clCreateContext(intptr_t * , uint32_t, cl_device_id * , void (*pfn_notify)(const char *, const void *, size_t, void *), void *, int32_t * ); </code> */ +CustomJavaCode CL public long clCreateContext(IntBuffer properties, int arg1, long[] devices, CreateContextCallback pfn_notify, Object userData, IntBuffer errcode_ret); + +Ignore clCreateContextFromType +CustomJavaCode CL /** Interface to C language function: <br> <code> cl_context clCreateContextFromType(cl_context_properties *properties, cl_device_type device_type, void (*pfn_notify)(const char *errinfo, const void *private_info, size_t cb, void *user_data), void *user_data, cl_int *errcode_ret) ; </code> */ +CustomJavaCode CL public long clCreateContextFromType(IntBuffer properties, long device_type, CreateContextCallback pfn_notify, Object userData, IntBuffer errcode_ret); + +Ignore clBuildProgram +#TODO.. + +Ignore clEnqueueNativeKernel +#TODO.. + |