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.10.1935 (2.4.10.1935)

Syntax

C#
public static int GetDevice()
Visual Basic
Public Shared Function GetDevice As Integer
Visual C++
public:
static int GetDevice()
F#
static member GetDevice : unit -> int 

Return Value

Type: Int32
The current Cuda device id

See Also