# GPU-accelerated computing
# gpuR gpuMatrix objects
# gpuR vclMatrix objects
# Remarks
GPU computing requires a 'platform' which can connect to and utilize the hardware. The two primary low-level languages that accomplish this are CUDA and OpenCL. The former requires installation of the proprietary NVIDIA CUDA Toolkit and is only applicable on NVIDIA GPUs. The latter is both company (e.g. NVIDIA, AMD, Intel) and hardware independent (CPU or GPU) but requires the installation of an SDK (software development kit). In order to use a GPU via R you will need to install one of these pieces of software first.
Once either the CUDA Toolkit or a OpenCL SDK is installed, you can install an appropriate R package. Almost all the R GPU packages are dependent upon CUDA and limited to NVIDIA GPUs. These include:
- gputools (opens new window)
- cudaBayesreg (opens new window)
- HiPLARM (opens new window)
- gmatrix (opens new window)
There are currently only two OpenCL enabled packages
- OpenCL (opens new window) - interface from R to OpenCL
- gpuR (opens new window) - general purpose library
Warning - installation can be difficult for different operating systems with different environmental variables and GPU platforms.