device: Get and set methods for the device slot of a gvector or gmatrix object
Description
The device
methods can be used to find what GPU device an object is stored on.
The device<-
can be used to move the object to a different GPU. Note that this is
currently implemented by moving the object to host memory first.
Methods
signature(x = "gmatrix")
signature(x = "gvector")