chooseDevice {nmfgpu4R} | R Documentation |
Selects the specified device as primary computation device. All further invocations to nmfgpu will use the specified CUDA device.
chooseDevice(deviceIndex)
deviceIndex |
Index of the CUDA device, which should be used for computation. |
CUDA enumerates devices starting with 0 for the first device.