Namespace: Rx::LFR – Class: CCuda – Header: Rx.LFR/Cuda.h

CCuda::GetDeviceCount Static Method

C++
static int GetDeviceCount()

Gets the number of available CUDA devices in your system. EnumerateCudaDevices has to be called at least once before.

Returns

int

The number of available CUDA devices.