/// <summary> /// /// </summary> protected void HookNotifier() { statusNotify = new ComputeEventCallback(StatusNotify); ComputeErrorCode error = CLInterface.CL11.SetEventCallback(Handle, (int)ComputeCommandExecutionStatus.Complete, statusNotify, IntPtr.Zero); ComputeException.ThrowOnError(error); }
public extern static ComputeErrorCode SetEventCallback( CLEventHandle @event, Int32 command_exec_callback_type, ComputeEventCallback pfn_notify, IntPtr user_data);
public ComputeErrorCode SetEventCallback(CLEventHandle @event, int command_exec_callback_type, ComputeEventCallback pfn_notify, IntPtr user_data) { throw new NotImplementedException(); }
public static unsafe extern ComputeErrorCode SetEventCallback( IntPtr @event, Int32 command_exec_callback_type, /* void (CL_CALLBACK * pfn_notify)(cl_event, cl_int, void *) */ ComputeEventCallback pfn_notify, /* void * */ IntPtr user_data);
public static extern ComputeErrorCode SetEventCallback( CLEventHandle @event, Int32 command_exec_callback_type, ComputeEventCallback pfn_notify, IntPtr user_data);
public new ComputeErrorCode SetEventCallback(CLEventHandle @event, Int32 command_exec_callback_type, ComputeEventCallback pfn_notify, IntPtr user_data) { return StaticSetEventCallback(@event, command_exec_callback_type, pfn_notify, user_data); }
protected void HookNotifier() { statusNotify = StatusNotify; CL11.SetEventCallback(handle, (int)ComputeCommandExecutionStatus.Complete, statusNotify, IntPtr.Zero); }
public static extern int SetEventCallback(IntPtr @event, int command_exec_callback_type, ComputeEventCallback pfn_notify, IntPtr user_data);
ComputeErrorCode ICL11.SetEventCallback(CLEventHandle @event, int command_exec_callback_type, ComputeEventCallback pfn_notify, IntPtr user_data) { return SetEventCallback(@event, command_exec_callback_type, pfn_notify, user_data); }
ComputeErrorCode ICL11.SetEventCallback(CLEventHandle @event, int command_exec_callback_type, ComputeEventCallback pfn_notify, IntPtr user_data) { return(SetEventCallback(@event, command_exec_callback_type, pfn_notify, user_data)); }