Hi, For the moment, I compile the GPU code with Visual studio 2015 to make à DLL, and then I call it from R. It is the only solution I found for the moment.
Best regards, Emmanuel Le 22 janv. 2018 11:19 PM, "Dirk Eddelbuettel" <e...@debian.org> a écrit : > > On 22 January 2018 at 22:59, Emmanuel Hamel wrote: > | First, I would like to say thank you because you spend time answering my > | questions and you are not paid. I appreciate a lot. I will take a look > more > | seriously at OpenCL. I am mainly interested in "non-implemented > | operations". I also think that the problem is related to the fact that it > | is "difficult" to make a link between Rtools and nvcc compiler. I have > | looked at many R packages for GPU and a lot of them do not seem available > | on windows. Finally, If you find the solution of how to integrate easily > > The Windows toolchain issue is a problem. We are fixed at g++-4.9.3 for > some > time. > > | OpenACC and Rtools in the future, let me know. I think it would be great > to > | have a "RcppOpenACC" package. This would enable developers to create > | flexible code in C++ (CPU and GPU at the same time!). > > I looked a little at OpenACC after you first asked as the topic seems > interesting. From my casual browsing it seems my machine (where g++ is > g++-7.2 here on Ubuntu 7.10) already has it -- newer g++ included it. > > On Windows you will be constrained. Maybe at some point with a newer > Windows > 10 you can cheat and use the Windows Subsystem for Linux (or whatever it is > called). In the meantime, just use AWS, a cheap laptop, or some other > means. > It is good technology -- use it, make a business case and use that to get > your corporate windows-only constraint relaxed. At least one can hope... > > Dirk > > -- > http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org >
_______________________________________________ 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