public static extern CLError clBuildProgram( CLProgram program, uint num_devices, [In] CLDeviceID[] device_list, IntPtr options, NotifyFunction func, IntPtr user_data);
//public virtual bool CompareNotifyContext(object obj) //{ // lock (m_syncRoot) // { // return NotifyContext.Equals(obj); // } //} public virtual bool CompareNotifyFunction(System.Func <INotification, bool> func) { lock (m_syncRoot) { return(NotifyFunction.Equals(func)); } }
public static extern CLProgram clLinkProgram( CLContext context, uint num_devices, [In] CLDeviceID[] device_list, string options, uint num_input_programs, [In] CLProgram[] input_programs, NotifyFunction pfn_notify, IntPtr user_data, IntPtr errcode_ret);
public static extern CLError clCompileProgram( CLProgram program, uint num_devices, [In] CLDeviceID[] device_list, string options, uint num_input_headers, [In] CLProgram[] input_headers, [In] IntPtr[] header_include_names, NotifyFunction pfn_notify, IntPtr user_data);
public static extern CLError clSetProgramReleaseCallback( CLProgram program, NotifyFunction pfn_notify, IntPtr user_data);
internal static extern CLError clBuildProgram(CLProgram program, int num_devices, [In] CLDeviceID[] device_list, string options, NotifyFunction func, IntPtr user_data);
public static extern Error clBuildProgram(OpenCLProgram program, Int32 num_devices, [In] OpenCLDevice[] device_list, String options, NotifyFunction func, IntPtr user_data);
public static Error clBuildProgram(OpenCLProgram program, Int32 num_devices, [In] OpenCLDevice[] device_list, String options, NotifyFunction func, IntPtr user_data) { Console.WriteLine("Calling Error clBuildProgram(OpenCLProgram program, Int32 num_devices, [In] OpenCLDevice[] device_list, String options, NotifyFunction func, IntPtr user_data)"); return default(Error); }