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