The ROpenCL
package developed by Willem Ligtenberg together with this book's author, is essentially a collection of limited-scope R convenience functions that wrap the OpenCL C API and simplify many aspects of its complexity. ROpenCL
wrappers are implemented in C++ and are dependent on the Rcpp
package, which is available from the CRAN package repository. ROpenCL
is not yet part of CRAN (though this may change by the time this book is published) and must be installed from source. You can do this directly from within your R session, as follows:
> install.packages("ROpenCL", type="source", repos="http://repos.openanalytics.eu")
The ROpenCL
API functions we will make use of in this chapter, their supporting concepts, and how they will be used, are summarized in the following table and presented in the sequence order in which they would normally be expected to be called in a typical OpenCL program—the numbered sequence of...