DOI: 10.18129/B9.bioc.gpuMagic    

This is the development version of gpuMagic; to use it, please install the devel version of Bioconductor.

An openCL compiler with the capacity to compile R functions and run the code on GPU

Bioconductor version: Development (3.10)

The package aims to help users write openCL code with little or no effort. It is able to compile an user-defined R function and run it on a device such as a CPU or a GPU. The user can also write and run their openCL code directly by calling .kernel function.

Author: Jiefei Wang

Maintainer: Jiefei Wang <szwjf08 at>

Citation (from within R, enter citation("gpuMagic")):


To install this package, start R (version "3.6") and enter:

if (!requireNamespace("BiocManager", quietly = TRUE))

# The following initializes usage of Bioc devel


For older versions of R, please refer to the appropriate Bioconductor release.


PDF   Reference Manual


biocViews Infrastructure, Software
Version 1.1.0
In Bioconductor since BioC 3.9 (R-3.6) (< 6 months)
License GPL-3
Depends R (>= 3.6.0), methods, utils
Imports Deriv, DescTools, digest, pryr, stringr, BiocGenerics
LinkingTo Rcpp
Suggests testthat, knitr, rmarkdown, BiocStyle
SystemRequirements C++11, a graphic driver or a CPU SDK. For windows user, an ICD loader is required at C:/windows/system32/OpenCL.dll (Usually it is installed by the graphic driver). For linux user (Except mac): ocl-icd-opencl-dev package is required.
Depends On Me
Imports Me
Suggests Me
Links To Me
Build Report  

Package Archives

Follow Installation instructions to use this package in your R session.

Source Package
Windows Binary
Mac OS X 10.11 (El Capitan) gpuMagic_1.1.0.tgz
Source Repository git clone
Source Repository (Developer Access) git clone
Package Short Url
Package Downloads Report Download Stats

Documentation »


R / CRAN packages and documentation

Support »

Please read the posting guide. Post questions about Bioconductor to one of the following locations: