From 21640612bed086e4c0accae8fcedb8cfca6771b1 Mon Sep 17 00:00:00 2001 From: Antonio Sanchez Date: Fri, 24 Sep 2021 21:31:14 -0700 Subject: [PATCH] Disable more CUDA warnings. For cuda 9.2 and 11.4, they changed the numbers again. Fixes #2331. --- Eigen/src/Core/util/DisableStupidWarnings.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Eigen/src/Core/util/DisableStupidWarnings.h b/Eigen/src/Core/util/DisableStupidWarnings.h index e950749e7..848aa6858 100755 --- a/Eigen/src/Core/util/DisableStupidWarnings.h +++ b/Eigen/src/Core/util/DisableStupidWarnings.h @@ -94,13 +94,19 @@ #pragma diag_suppress 2735 #pragma diag_suppress 2737 #pragma diag_suppress 2739 + #pragma diag_suppress 2885 + #pragma diag_suppress 2888 #pragma diag_suppress 2976 #pragma diag_suppress 2979 + #pragma diag_suppress 20011 + #pragma diag_suppress 20014 // Disable the "// __device__ annotation is ignored on a function(...) that is // explicitly defaulted on its first declaration" message. // The __device__ annotation seems to actually be needed in some cases, // otherwise resulting in kernel runtime errors. + #pragma diag_suppress 2886 #pragma diag_suppress 2977 + #pragma diag_suppress 20012 #endif #else