[Rcpp-devel] Question on performance and strategy

Dirk Eddelbuettel edd at debian.org
Sat Sep 22 17:33:58 CEST 2018


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 | edd at debian.org


More information about the Rcpp-devel mailing list