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.
-Andrew On Wed, Feb 1, 2012 at 8:15 AM, Chris DuBois <[email protected]> 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. > Chris > > _______________________________________________ > Rcpp-devel mailing list > [email protected] > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel >
_______________________________________________ Rcpp-devel mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
