From a69ac7eb33e3e963bacf2d47d92875d8e8176d1d Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Wed, 14 Oct 2009 20:43:02 +0200 Subject: implemented clBuildProgram(...) and updated JUnit test. --- resources/cl-if.cfg | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'resources/cl-if.cfg') diff --git a/resources/cl-if.cfg b/resources/cl-if.cfg index 08e21dcc..4d7d80f1 100644 --- a/resources/cl-if.cfg +++ b/resources/cl-if.cfg @@ -16,15 +16,19 @@ Ignore CL_GL_.*|cl.*GL.* #custom implementations Ignore clCreateContext +CustomJavaCode CL CustomJavaCode CL /** Interface to C language function:
cl_context clCreateContext(intptr_t * , uint32_t, cl_device_id * , void (*pfn_notify)(const char *, const void *, size_t, void *), void *, int32_t * ); */ CustomJavaCode CL public long clCreateContext(IntBuffer properties, int properties_offset, long[] devices, CreateContextCallback pfn_notify, Object userData, IntBuffer errcode_ret, int errcode_offset); Ignore clCreateContextFromType +CustomJavaCode CL CustomJavaCode CL /** Interface to C language function:
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) ; */ CustomJavaCode CL public long clCreateContextFromType(IntBuffer properties, int properties_offset, long device_type, CreateContextCallback pfn_notify, Object userData, IntBuffer errcode_ret, int errcode_offset); Ignore clBuildProgram -#TODO.. +CustomJavaCode CL +CustomJavaCode CL /** Interface to C language function:
int32_t clBuildProgram(cl_program, uint32_t, cl_device_id * , const char * , void (*pfn_notify)(cl_program, void *user_data), void * ); */ +CustomJavaCode CL public int clBuildProgram(long program, long[] devices, String options, BuildProgramCallback cb, Object userData); Ignore clEnqueueNativeKernel #TODO.. -- cgit v1.2.3