From bc4e1521cc2ccc91a033998847dc35e1a8c8687b Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Thu, 2 Sep 2010 23:45:05 +0200 Subject: CLMemObjectDestructorCallback for HLB and LLB. --- resources/cl-if.cfg | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'resources/cl-if.cfg') diff --git a/resources/cl-if.cfg b/resources/cl-if.cfg index b8deb126..f65a417b 100644 --- a/resources/cl-if.cfg +++ b/resources/cl-if.cfg @@ -8,6 +8,7 @@ Import java.nio.LongBuffer Import com.jogamp.opencl.impl.CLImageFormatImpl import com.jogamp.opencl.impl.BuildProgramCallback import com.jogamp.opencl.impl.CLEventCallback +import com.jogamp.opencl.impl.CLMemObjectDestructorCallback ClassJavadoc CL /** ClassJavadoc CL * Java bindings to OpenCL, the Open Computing Language. @@ -36,7 +37,13 @@ CustomJavaCode CL public int clBuildProgram(long program, int deviceCount, Poin Ignore clSetEventCallback CustomJavaCode CL -CustomJavaCode CL public int clSetEventCallback(long event, int type, CLEventCallback listener); +CustomJavaCode CL /** Interface to C language function:
int32_t {@native clSetEventCallback}(cl_event event, cl_int command_exec_callback_type, void (CL_CALLBACK *pfn_event_notify) (cl_event event, cl_int event_command_exec_status, void *user_data), void *user_data); */ +CustomJavaCode CL public int clSetEventCallback(long event, int type, CLEventCallback cb); + +Ignore clSetMemObjectDestructorCallback +CustomJavaCode CL +CustomJavaCode CL /** Interface to C language function:
int32_t {@native clSetMemObjectDestructorCallback}(cl_mem memobj, void (CL_CALLBACK *pfn_notify) (cl_mem memobj, void *user_data), void *user_data); */ +CustomJavaCode CL public int clSetMemObjectDestructorCallback(long memObjID, CLMemObjectDestructorCallback cb); Ignore clEnqueueNativeKernel #TODO.. -- cgit v1.2.3