Raytrix Light Field SDK  4.0
Logo
Static Public Member Functions | List of all members
Rx::LFR::Net::Cuda Class Reference

Detailed Description

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

Static Public Member Functions

static void End ()
 Finalizes CUDA. This finalizes all CUDA devices. More...
 
static int EnumerateCudaDevices ()
 Enumerates and stores all CUDA devices. More...
 
static void GC_Collect ()
 Forces an immediate garbage collection of temporary CUDA memory. More...
 
static CudaDeviceGetDevice (int iIdx)
 Gets a certain CUDA device. More...
 
static int GetDeviceCount ()
 Gets the number of available CUDA devices in your system. More...
 
static int GetDriverVersion ()
 Gets the installed CUDA driver version. Returns 0 if there is no CUDA driver installed. More...
 
static System::ObjectGetInterface (Interfaces::ECuda eData)
 Gets the interface defined by Interface::ECuda. More...
 
static int GetRuntimeVersion ()
 Gets the installed CUDA runtime version. More...
 

Member Function Documentation

static void Rx::LFR::Net::Cuda::End ( )
inlinestatic

Finalizes CUDA. This finalizes all CUDA devices.

static int Rx::LFR::Net::Cuda::EnumerateCudaDevices ( )
inlinestatic

Enumerates and stores all CUDA devices.

Returns
The number of available CUDA devices.
static void Rx::LFR::Net::Cuda::GC_Collect ( )
inlinestatic

Forces an immediate garbage collection of temporary CUDA memory.

static CudaDevice ^ Rx::LFR::Net::Cuda::GetDevice ( int  iIdx)
inlinestatic

Gets a certain CUDA device.

Parameters
iIdxThe index of the CUDA device. Must be in the range of [0, GetDeviceCount() - 1].
Returns
The CUDA device.
static int Rx::LFR::Net::Cuda::GetDeviceCount ( )
inlinestatic

Gets the number of available CUDA devices in your system.

Returns
The number of available CUDA devices.
static int Rx::LFR::Net::Cuda::GetDriverVersion ( )
inlinestatic

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

Returns
The driver version.
static System::Object ^ Rx::LFR::Net::Cuda::GetInterface ( Interfaces::ECuda  eData)
inlinestatic

Gets the interface defined by Interface::ECuda.

Parameters
eDataThe interface type.
Returns
Null if it fails, else the interface.
static int Rx::LFR::Net::Cuda::GetRuntimeVersion ( )
inlinestatic

Gets the installed CUDA runtime version.

Returns
The runtime version.