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.stub...@daqana.com Sitz: Potsdam Register: AG Potsdam HRB 27966 P Ust.-IdNr.: DE300072622 Geschäftsführer: Prof. Dr. Dr. Karl-Kuno Kunze
signature.asc
Description: OpenPGP digital signature
_______________________________________________ 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