Jordi,
RcppParallel uses _thread_ parallelism on the CPU. RcppArrayFire can use that too, but can also use two GPU related mechanisms. But those do not give you extra CPUs, so in short you cannot do "CPU x GPU". None of this is Rcpp specific. But the respective articles on the RcppGallery are very good. Try by replicating their results. Then experiment. Just keep reading, and trying / experimenting. A lot of this is best learned by trial and error, along with background reading. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel