SoCudaDeviceGetDevicesCount Method |
Returns the number of CUDA capable GPUs 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 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 zero if SoCuda.init() has not been called.
See Also