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