diff options
author | Michael Bien <[email protected]> | 2009-11-06 01:51:44 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2009-11-06 01:51:44 +0100 |
commit | 6b0a2ca7a6d03b280c018bf9de5b385451399022 (patch) | |
tree | 6d5e215f36b48c7b20f18938752084524eb75435 /resources/cl-if.cfg | |
parent | 3d8df0c175ff84ac7b42e0ee5f247099b953514a (diff) |
added cl_ext header to build - extensions are now included in CL and CLGLI api.
fixed create context codepaths with platform ID as parameter in high level api.
updated test.
Diffstat (limited to 'resources/cl-if.cfg')
-rw-r--r-- | resources/cl-if.cfg | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/resources/cl-if.cfg b/resources/cl-if.cfg index 8a4d62d8..43898544 100644 --- a/resources/cl-if.cfg +++ b/resources/cl-if.cfg @@ -4,6 +4,7 @@ Style InterfaceOnly #imports for all generated java files Import java.nio.IntBuffer +Import java.nio.LongBuffer ClassJavadoc CL /** ClassJavadoc CL * Java bindings to OpenCL, the Open Computing Language. @@ -18,12 +19,12 @@ Ignore CL_GL_.*|cl.*GL.* Ignore clCreateContext CustomJavaCode CL 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, long[] devices, CreateContextCallback pfn_notify, Object userData, IntBuffer errcode_ret); +CustomJavaCode CL public long clCreateContext(LongBuffer properties, long[] devices, CreateContextCallback pfn_notify, Object userData, IntBuffer errcode_ret); Ignore clCreateContextFromType CustomJavaCode CL 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); +CustomJavaCode CL public long clCreateContextFromType(LongBuffer properties, long device_type, CreateContextCallback pfn_notify, Object userData, IntBuffer errcode_ret); Ignore clBuildProgram CustomJavaCode CL |