<div dir="ltr"><div><span style="font-size:12.8px">Hi Emmanuel. P</span><span style="font-size:12.8px">robably you take a look to the approach taken by Microsoft in LightGBM R package. I do not know details (so approach could be irrelevant to what you've asked), but on windows they build package (even with gpu support) u</span>sing Visual Studio toolchain. You can check here - <a href="https://github.com/Microsoft/LightGBM/tree/master/R-package">https://github.com/Microsoft/LightGBM/tree/master/R-package</a>.<br></div><div><br></div><div>If you will find it useful please report back to this mailing list, so we will be aware of it. Thanks.</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-01-23 15:00 GMT+04:00  <span dir="ltr"><<a href="mailto:rcpp-devel-request@lists.r-forge.r-project.org" target="_blank">rcpp-devel-request@lists.r-forge.r-project.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send Rcpp-devel mailing list submissions to<br>
        <a href="mailto:rcpp-devel@lists.r-forge.r-project.org">rcpp-devel@lists.r-forge.r-<wbr>project.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel" rel="noreferrer" target="_blank">https://lists.r-forge.r-<wbr>project.org/cgi-bin/mailman/<wbr>listinfo/rcpp-devel</a><br>
<br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:rcpp-devel-request@lists.r-forge.r-project.org">rcpp-devel-request@lists.r-<wbr>forge.r-project.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:rcpp-devel-owner@lists.r-forge.r-project.org">rcpp-devel-owner@lists.r-<wbr>forge.r-project.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Rcpp-devel digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: OpenACC, Rcpp and RStudio on Windows (Emmanuel Hamel)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Mon, 22 Jan 2018 23:24:34 -0500<br>
From: Emmanuel Hamel <<a href="mailto:manu.hamel@gmail.com">manu.hamel@gmail.com</a>><br>
To: Dirk Eddelbuettel <<a href="mailto:edd@debian.org">edd@debian.org</a>><br>
Cc: <a href="mailto:rcpp-devel@lists.r-forge.r-project.org">rcpp-devel@lists.r-forge.r-<wbr>project.org</a><br>
Subject: Re: [Rcpp-devel] OpenACC, Rcpp and RStudio on Windows<br>
Message-ID:<br>
        <CANM+bM+-mdjY7bL-Rrz0rSji=<a href="mailto:vj00xZOr7TeNhqdk0%2BtM%2BsmQQ@mail.gmail.com">vj0<wbr>0xZOr7TeNhqdk0+tM+smQQ@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi,<br>
<br>
For the moment, I compile the GPU code with Visual studio 2015 to make ?<br>
DLL, and then I call it from R. It is the only solution I found for the<br>
moment.<br>
<br>
Best regards,<br>
<br>
Emmanuel<br>
<br>
Le 22 janv. 2018 11:19 PM, "Dirk Eddelbuettel" <<a href="mailto:edd@debian.org">edd@debian.org</a>> a ?crit :<br>
<br>
><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<br>
> 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<br>
> some<br>
> time.<br>
><br>
> | OpenACC and Rtools in the future, let me know. I think it would be great<br>
> 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<br>
> 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<br>
> 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>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20180122/aed8cb0b/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.r-forge.r-<wbr>project.org/pipermail/rcpp-<wbr>devel/attachments/20180122/<wbr>aed8cb0b/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
______________________________<wbr>_________________<br>
Rcpp-devel mailing list<br>
<a href="mailto:Rcpp-devel@lists.r-forge.r-project.org">Rcpp-devel@lists.r-forge.r-<wbr>project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel" rel="noreferrer" target="_blank">https://lists.r-forge.r-<wbr>project.org/cgi-bin/mailman/<wbr>listinfo/rcpp-devel</a><br>
<br>
End of Rcpp-devel Digest, Vol 99, Issue 12<br>
******************************<wbr>************<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Regards <div>Dmitriy Selivanov</div></div></div>
</div></div>