Rcpp integration for Arrayfire
C++ R C Shell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R
inst/include
man
src
.Rbuildignore
.gitignore
DESCRIPTION
NAMESPACE
README.md
RcppFire.Rproj
cleanup
configure
configure.ac

README.md

RcppFire

Stories in Ready

R and Arrayfire via Rcpp

Prerequisites

  • R packages
  • Rcpp
  • Arrayfire
  • gcc (>= 4.8)

Installation

install.packages('devtools')
library(devtools)
install_github(repo = 'kafku/RcppFire@develop')

If you want to try RcppFire with keeping your local enviornment clean, then

dev_mode(on = T)
install_github(repo = 'kafku/RcppFire@develop')
# do something with RcppFire
dev_mode(on = F)

RcppFire, with its default configuration, uses the CUDA version of Arrayfire. For using OpenCL or CPU version, invoke install_github with --with-build-type argument.

# using OpenCL version
install_github(repo = 'kafku/RcppFire@develop',
               args = c("--configure-args='--with-build-type=opencl'"))

# using CPU version
install_github(repo = 'kafku/RcppFire@develop',
               args = c("--configure-args='--with-build-type=cpu'"))

Status

Under development

Authors

Kazuki Fukui

License

GPL (>= 2)