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

CCuda::EnumerateCudaDevices Static Method

C++
static int EnumerateCudaDevices()

Enumerates and stores all CUDA devices.

If a CUDA device is not recognized, it may be that it does not fulfill the minimum Compute Capability that is required by this runtime.

Returns

int

The number of available CUDA devices.