Hi Emmanuel. Probably 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) using Visual Studio toolchain. You can check here - https://github.com/Microsoft/LightGBM/tree/master/R-package.
If you will find it useful please report back to this mailing list, so we will be aware of it. Thanks. 2018-01-23 15:00 GMT+04:00 <rcpp-devel-requ...@lists.r-forge.r-project.org>: > Send Rcpp-devel mailing list submissions to > rcpp-devel@lists.r-forge.r-project.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.r-forge.r-project.org/cgi-bin/mailman/ > listinfo/rcpp-devel > > or, via email, send a message with subject or body 'help' to > rcpp-devel-requ...@lists.r-forge.r-project.org > > You can reach the person managing the list at > rcpp-devel-ow...@lists.r-forge.r-project.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Rcpp-devel digest..." > > > Today's Topics: > > 1. Re: OpenACC, Rcpp and RStudio on Windows (Emmanuel Hamel) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 22 Jan 2018 23:24:34 -0500 > From: Emmanuel Hamel <manu.ha...@gmail.com> > To: Dirk Eddelbuettel <e...@debian.org> > Cc: rcpp-devel@lists.r-forge.r-project.org > Subject: Re: [Rcpp-devel] OpenACC, Rcpp and RStudio on Windows > Message-ID: > <CANM+bM+-mdjY7bL-Rrz0rSji=vj00xZOr7TeNhqdk0+tM+smQQ@mail. > gmail.com> > Content-Type: text/plain; charset="utf-8" > > 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 > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: <http://lists.r-forge.r-project.org/pipermail/rcpp- > devel/attachments/20180122/aed8cb0b/attachment-0001.html> > > ------------------------------ > > _______________________________________________ > 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 > > End of Rcpp-devel Digest, Vol 99, Issue 12 > ****************************************** > -- Regards Dmitriy Selivanov
_______________________________________________ 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