Cv2GpuSetDevice Method OpenCvSharp Class Library
Sets a device and initializes it for the current thread.

Namespace:  OpenCvSharp.CPlusPlus.Gpu
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static int SetDevice(
	int device
)

Parameters

device
Type: SystemInt32
System index of a GPU device starting with 0.

Return Value

Type: Int32

[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.Gpu.Cv2Gpu.SetDevice(System.Int32)"]

See Also

Reference