Method SetUseOpenCL
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
SetUseOpenCL(bool)
Enables or disables OpenCL use for the calling thread.
public static void SetUseOpenCL(bool flag)
Parameters
flagboolTrue to enable OpenCL when a suitable runtime and device are available; otherwise, false.