Skip to content
Prev 7825 / 10988 Next

[Rcpp-devel] parallel distance matrix calculation

James,

My attempt at marginal usefulness (compared to DE and JJE's comments) would
be to offer some code examples that I've got using OpenMP--based
parallelism. There are examples in the gallery, of course. But I've got a
number of others for euclidean distance and one for an EM algorithm. If you
are interested, just shoot me an email.

Somewhere in all that I have a some benchmarks showing the time costs
depending on where you use the pragmas. But, if you are tied to
RcppParallel or you are using a compiler that doesn't support OpenMP, then
I've got nothing for you :-(

And, then there is the issue of whether you find it easier to think about
the code in terms of the RcppParallel abstractions or something else.

-Jonathan
On Fri, Jul 11, 2014 at 10:01 PM, Dirk Eddelbuettel <edd at debian.org> wrote: