From 0576e53b4a333d95e1de629b2e5d864372a42964 Mon Sep 17 00:00:00 2001 From: Dirk Eddelbuettel Date: Tue, 18 Nov 2025 11:38:26 -0600 Subject: [PATCH] Set a default OpenCL version to shut up the library --- src/Makevars.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makevars.in b/src/Makevars.in index 9746aff..3fba8de 100644 --- a/src/Makevars.in +++ b/src/Makevars.in @@ -3,7 +3,7 @@ ## This file is processed by configure to generate Makevars ## It includes GPU backend configuration (OpenCL, CUDA) and other settings -PKG_CPPFLAGS = -I../inst/include +PKG_CPPFLAGS = -I../inst/include -DCL_TARGET_OPENCL_VERSION=300 ## Compiler flags from configure PKG_CXXFLAGS = @BANDICOOT_CXXFLAGS@ @OPENMP_CXXFLAGS@