Provides information about the CUDA hardware in your system and enables access to available CUDA devices.
Inherits Rx::LFR::CPimpl< CCuda_Impl, Interfaces::ECuda::ID >.
Public Member Functions | |
CCuda_Impl & | GetImpl () |
Gets the non constant implementation. More... | |
const CCuda_Impl & | GetImpl () const |
Gets the constant implementation. More... | |
const void * | GetInterface (Interfaces::ECuda::ID eInterface) const |
Gets the interface defined by the given interface ID. More... | |
bool | HasInterface (Interfaces::ECuda::ID eInterface) |
Queries if this object has the given interface. More... | |
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 const CCudaDevice & | GetDevice (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 void * | GetInterface (Interfaces::ECuda::ID eData) |
Gets the interface defined by Interfaces::ECuda. More... | |
static int | GetRuntimeVersion () |
Gets the installed CUDA runtime version. More... | |
|
static |
Finalizes CUDA. This finalizes all CUDA devices.
|
static |
Enumerates and stores all CUDA devices.
|
static |
Forces an immediate garbage collection of temporary CUDA memory.
|
static |
Gets a certain CUDA device.
iIdx | The index of the CUDA device. Must be in the range of [0, GetDeviceCount() - 1]. |
|
static |
Gets the number of available CUDA devices in your system.
|
static |
Gets the installed CUDA driver version. Returns 0 if there is no CUDA driver installed.
|
inlineinherited |
Gets the non constant implementation.
|
inlineinherited |
Gets the constant implementation.
|
static |
Gets the interface defined by Interfaces::ECuda.
eData | The interface type. |
|
inherited |
Gets the interface defined by the given interface ID.
eInterface | The interface ID. |
|
static |
Gets the installed CUDA runtime version.
|
inlineinherited |
Queries if this object has the given interface.
eInterface | The interface to query. |