High level functions for doing parallel programming with Rcpp. For example, the parallelFor
function can be used to convert the work of a standard serial "for" loop into a parallel one and the parallelReduce
function can be used for accumulating aggregate or other values.
The high level interface enables safe and robust parallel programming without direct manipulation of operating system threads. On Windows, OS X, and Linux systems the underlying implementation is based on Intel TBB (Threading Building Blocks). On other platforms a less-performant fallback implementation based on the TinyThread library is used.
For additional documentation on using RcppParallel see the package website at http://rcppcore.github.io/RcppParallel/.
The RcppParallel package is made available under the GPLv2.
The TinyThread library is licensed under the zlib/libpng license as described here.
The Intel TBB Library is licensed under the Apache 2.0 (as described at https://www.threadingbuildingblocks.org/faq/10).