Namespace: Rx.LFR.Net – Class: Cuda – Assembly: Rx.LFR.Net

Cuda Class

C#
class Cuda

Provides information about the CUDA hardware in your system and enables access to available CUDA devices.

Static Methods

EnumerateCudaDevices()

Enumerates and stores all CUDA devices.

GetDeviceCount()

Gets the number of available CUDA devices in your system. This method return 0 if Rx::LFR::Net::Cuda::EnumerateCudaDevices has not been called yet.

GetDevice(iIdx)

Gets a certain CUDA device. Only works if Rx::LFR::Net::Cuda::EnumerateCudaDevices has been called.

GetRuntimeVersion()

Gets the installed CUDA runtime version.

GetDriverVersion()

Gets the installed CUDA driver version. Returns 0 if there is no CUDA driver installed.

GC_Collect()

Forces an immediate garbage collection of temporary CUDA memory.

End()

Finalizes CUDA. This finalizes all CUDA devices.

GetInterface(eData)

Gets the interface defined by Interface::ECuda.