Description Usage Arguments Details Value Author(s) See Also Examples
On systems with multiple GPUs the current device may be set or investigated with these functions.
1 2 3 |
device |
Device number to set the device to |
force |
Force reset of the tuning parameters even if they have already been set |
silent |
Prints a message if TRUE |
... |
Arguments to set the tuning parameters. It's not a good idea to mess with these at this point. |
All operations are performed on the current GPU device only. An error will be returned if the user attempts to perform an operation on a device that is not the current device. Details of the available devices can be obtained with the 'listDevices' function.
setDevice
returns TRUE. getDevice
returns the current device number. listDevices
returns a data.frame
with information about the available devices.
Nathan Morris
1 2 3 | listDevices()
getDevice()
#setDevice(1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.