[Rcpp-devel] Rcpp and CUDA
Peter.Aberline at rms.com
Thu Feb 2 16:45:48 CET 2012
My first posting to the group!
>>Does anybody know where I might find an example of using CUDA with Rcpp?
>>I've looked around the internet a bit (and on this list), but have yet to find too much. I saw some discussion on optimizing a 2d convolution, but only references to the possibility of using CUDA. I've also been using Dirk's OpenMP example in Rcpp/examples.
The Armadillo library allows you to slot in BLAS implementations. I've been wondering whether it would be possible to use NVIDIA's CuBLAS library, which is a BLAS implementation using CUDA. Would it then be possible to use RcppArmadillo to move data in and out of R?
I've also developed some examples of using RInside/Rcpp with ZeroMQ, which allows parallel distributed computation, which may interest you. I've promised these to Dirk. (Dirk I'll email you the code off list today).
From: rcpp-devel-bounces at r-forge.wu-wien.ac.at [mailto:rcpp-devel-bounces at r-forge.wu-wien.ac.at] On Behalf Of Chris DuBois
Sent: 01 February 2012 15:16
To: rcpp-devel at r-forge.wu-wien.ac.at
Subject: [Rcpp-devel] Rcpp and CUDA
I'm trying to gauge how hard this would be before I spend too much time down this route. My objects that need to be shared may be too large for this approach.
Any advice greatly appreciated.
This message and any attachments contain information that may be RMS Inc. confidential and/or privileged. If you are not the intended recipient (or authorized to receive for the intended recipient), and have received this message in error, any use, disclosure or distribution is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to the e-mail and permanently deleting the message from your computer and/or storage system.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rcpp-devel