CCuda Class
#include "Rx.LFR/Cuda.h"
class CCuda : public CPimpl<CCuda_Impl, ECudaInterface>
Provides information about the CUDA hardware in your system and enables access to available CUDA devices.
Methods
GetImpl() | Gets the non constant implementation. (Inherited from CPimpl) |
GetImpl() | Gets the constant implementation. (Inherited from CPimpl) |
GetInterface(eInterface) | Gets the interface defined by the given interface ID. (Inherited from CPimpl) |
HasInterface(eInterface) | Queries if this object has the given interface. (Inherited from CPimpl) |
Static Methods
EnumerateCudaDevices() | Enumerates and stores all CUDA devices. |
GetDeviceCount() | Gets the number of available CUDA devices in your system. EnumerateCudaDevices has to be called at least once before. |
GetDevice(iIdx) | Gets a certain CUDA device. |
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 ECudaInterface. |