CudaInvokeSetGlDevice Method |
http://www.emgu.com
Sets a CUDA device and initializes it for the current thread with OpenGL interoperability.
This function should be explicitly called after OpenGL context creation and before any CUDA calls.
Namespace:
Emgu.CV.Cuda
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
Syntaxpublic static void SetGlDevice(
int device = 0
)
Public Shared Sub SetGlDevice (
Optional device As Integer = 0
)
public:
static void SetGlDevice(
int device = 0
)
static member SetGlDevice :
?device : int
(* Defaults:
let _device = defaultArg device 0
*)
-> unit
Parameters
- device (Optional)
- Type: SystemInt32
System index of a CUDA device starting with 0.
See Also