[Rcpp-devel] OpenACC, Rcpp and RStudio on Windows

Dirk Eddelbuettel edd at debian.org
Tue Jan 23 05:19:06 CET 2018

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

| 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...


http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org

More information about the Rcpp-devel mailing list