Re: [R-pkg-devel] R OpenCL on an AMD GPU

2023-02-07 Thread Simon Urbanek
Quirin, this is a contributed package question, so you should either use the GitHub issues (https://github.com/s-u/OpenCL/issues) for the package or contact the maintainer (me). But before you do so, you have to provide a lot more details including exact code you used and the full output of

[R-pkg-devel] R OpenCL on an AMD GPU

2023-02-07 Thread Quirin Stier
Hi, I am trying to set up the CRAN package "OpenCL" to run on a Windows 10 machine with an AMD GPU (Radeon 7900 XTX). I installed the AMD drivers (which carry the OpenCL.dll) and the installation of OpenCL in R didnt work. So I also downloaded the AMD SDK to set up the environment variables

Re: [R-pkg-devel] How to update "SystemRequirements: C++11"?

2023-02-07 Thread Iñaki Ucar
On Tue, 7 Feb 2023 at 01:50, Avraham Adler wrote: > > On Tue, Feb 7, 2023 at 12:10 AM Iñaki Ucar wrote: > > > > On Tue, 7 Feb 2023 at 00:09, Avraham Adler wrote: > > > > > > "If a package does have a src/Makevars[.win] file then also setting > > > the make variable ‘CXX_STD’ there is

Re: [R-pkg-devel] How to update "SystemRequirements: C++11"?

2023-02-07 Thread Vincent Dorie
This might be helpful. Using autoconf and ax_cxx_compile_stdcxx ( https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx.html) in package_root/tools/m4: configure.ac AC_PREREQ(2.64) AC_INIT(yourpackagename, 1.0, y...@email.com) AC_CONFIG_SRCDIR([src/main.cpp])