///<summary> ///Enqueues a marker. ///</summary> public ComputeEvent AddMarker() { CLEventHandle newEventHandle; ComputeErrorCode error = CL12.EnqueueMarker(Handle, out newEventHandle); ComputeException.ThrowOnError(error); return(new ComputeEvent(newEventHandle, this)); }