SoOpenCLDeviceGetDevicesCount Method |
Returns the number of OpenCL capable devices 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 uint GetDevicesCount()
Public Shared Function GetDevicesCount As UInteger
public:
static unsigned int GetDevicesCount()
static member GetDevicesCount : unit -> uint32
Return Value
Type:
UInt32
Remarks
Note the result is always null if SoOpenCL.init() has not been called.
See Also