SoCudaDeviceFindFirstAvailableDevice Method |
Returns the first available CUDA device in the system.
Namespace: OIV.Inventor.DevicesAssembly: OIV.Inventor.Cuda (in OIV.Inventor.Cuda.dll) Version: 9.9.36.0 (9.9.36.0)
Syntaxpublic static SoCudaDevice FindFirstAvailableDevice()
Public Shared Function FindFirstAvailableDevice As SoCudaDevice
public:
static SoCudaDevice^ FindFirstAvailableDevice()
static member FindFirstAvailableDevice : unit -> SoCudaDevice
Return Value
Type:
SoCudaDevice
Remarks
Note the result is always null if SoCuda.init() has not been called.
See Also