setGPU
in Package HiPLARM ~~setGPU
in package HiPLARM ~~
setGPU(proc, interface)
interface
, i.e the CPU or GPU interface
or if no argument is passed to interface then the MAGMA library is enabled or disabled.signature(proc = "logical", interface = "character")
interface
argument and
the proc
argument is set to TRUE
or FALSE
.
signature(proc = "logical", interface = "missing")
interface
. Setting proc
to TRUE
or FALSE
enables or disables the GPU.
signature(proc = "numeric", interface = "character")
interface
argument and
the proc
argument is set to 1
or 0
.
signature(proc = "numeric", interface = "missing")
interface
. Setting proc
to 1
or 0
enables or disables the GPU.
setGPU(TRUE,"CPU") # enables CPU interface where available
setGPU(TRUE,"GPU") # enables GPU interface only
setGPU(FALSE) #disables MAGMA library
Run the code above in your browser using DataLab