Table of Contents

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

flag bool

True to enable OpenCL when a suitable runtime and device are available; otherwise, false.