Example #1
0
 /// <summary>
 /// Blocks until all previously queued OpenCL commands in the command-queue are
 /// issued to the associated device and have completed.
 /// </summary>
 /// <remarks>
 /// <see cref="Finish"/> does not return until all previously queued commands in
 /// the command queue have been processed and completed. <see cref="Finish"/> is
 /// also a synchronization point.
 /// </remarks>
 public void Finish()
 {
     ThrowIfDisposed();
     UnsafeNativeMethods.Finish(Handle);
 }