[Rcpp-devel] Question on performance and strategy
Ralf Stubner
ralf.stubner at daqana.com
Mon Sep 24 12:07:08 CEST 2018
On 9/22/18 8:41 PM, Jordi Molins wrote:
> I have access to a machine (not a desktop) with quite a few CPUs and
> quite a few GPUs. So, if for example there are 100 CPU cores and 100,000
> GPU cores, I guess that I could do a foreach for these 100 CPU cores for
> an R function, and then if this R function calls RcppArrayFire,
> RcppArrayFire could call 1,000 GPU cores for each call, to make the
> whole 100,000 GPU cores, no? Or is everything more complex than that?
ArrayFire can make use of multiple GPUs [1]. I do not know if it is able
to treat them as one unit. I would expect that one has to do this more
explicitly, e.g. using an explicit loop and setting the device to be
used like here https://github.com/arrayfire/arrayfire-python/issues/165.
However, all this is not related to Rcpp.
Greetings
Ralf
[1] c.f. http://arrayfire.org/docs/group__device__mat.htm
--
Ralf Stubner
Senior Software Engineer / Trainer
daqana GmbH
Dortustraße 48
14467 Potsdam
T: +49 331 23 61 93 11
F: +49 331 23 61 93 90
M: +49 162 20 91 196
Mail: ralf.stubner at daqana.com
Sitz: Potsdam
Register: AG Potsdam HRB 27966 P
Ust.-IdNr.: DE300072622
Geschäftsführer: Prof. Dr. Dr. Karl-Kuno Kunze
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20180924/da8987a1/attachment.sig>
More information about the Rcpp-devel
mailing list