CCuda::GetDevice Static Method
C++
static const CCudaDevice& GetDevice(int iIdx)
Gets a certain CUDA device.
Parameters
[int] iIdx |
[in] The index of the CUDA device. Must be in the range of [0, GetDeviceCount() - 1]. |
Returns
const CCudaDevice& |
The CUDA device. |