chooseDevice: Selects the specified device as primary computation device....

Description Usage Arguments Note

View source: R/nmfgpu4R.R

Description

Selects the specified device as primary computation device. All further invocations to nmfgpu will use the specified CUDA device.

Usage

1
chooseDevice(deviceIndex)

Arguments

deviceIndex

Index of the CUDA device, which should be used for computation.

Note

CUDA enumerates devices starting with 0 for the first device.


nmfgpu4R documentation built on May 2, 2019, 2:51 p.m.