Method Finish
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Finish()
Waits for all queued OpenCL operations in the current default queue to complete.
public static void Finish()
Remarks
This method blocks the calling thread and is primarily useful at synchronization boundaries and when measuring OpenCL execution time. Calling it after every operation can reduce performance by preventing asynchronous execution.