[Rcpp-devel] Rcpp and CUDA
amredd at gmail.com
Thu Feb 2 17:01:35 CET 2012
Unless things have changed CUDA and R cpp don't always play nicely
together. I have an example, that I wrote up I'll try and dig it up to
send to you. The idea is that you must separate the CUDA code and Rcpp
code and compile separately and then link together. There are some header
conflicts in Rcpp that CUDA does not like.
On Wed, Feb 1, 2012 at 8:15 AM, Chris DuBois <chris.dubois at gmail.com> wrote:
> Hi all,
> 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.
> 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.
> Rcpp-devel mailing list
> Rcpp-devel at lists.r-forge.r-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rcpp-devel