http://www.emgu.com
Get the current Cuda device id

Namespace: Emgu.CV.GPU
Assembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.4.0.1717 (2.4.0.1717)

Syntax

C#
public static int GetDevice()
Visual Basic
Public Shared Function GetDevice As Integer
Visual C++
public:
static int GetDevice()

Return Value

The current Cuda device id

See Also