Fix cuda-nvcc with gcc 14

This commit is contained in:
Daniel Bermond
2025-05-04 20:25:13 -03:00
parent 6cff46cd23
commit 8337c3878f
3 changed files with 18 additions and 3 deletions
+11
View File
@@ -0,0 +1,11 @@
--- a/configure
+++ b/configure
@@ -6748,7 +6748,7 @@ if [ -z "$nvccflags" ]; then
nvccflags=$nvccflags_default
fi
-nvccflags="$nvccflags -std=c++11"
+nvccflags="$nvccflags -std=c++14"
if enabled x86_64 || enabled ppc64 || enabled aarch64; then
nvccflags="$nvccflags -m64"