93// Disable the "invalid error number" message that we get with older versions of nvcc
94 #pragma diag_suppress 1222
95// Disable the "calling a __host__ function from a __host__ __device__ function is not allowed" messages (yes, there are many of them and they seem to change with every version of the compiler)
96 #pragma diag_suppress 2527
97 #pragma diag_suppress 2529
98 #pragma diag_suppress 2651
99 #pragma diag_suppress 2653
100 #pragma diag_suppress 2668
101 #pragma diag_suppress 2669
102 #pragma diag_suppress 2670
103 #pragma diag_suppress 2671
104 #pragma diag_suppress 2735
105 #pragma diag_suppress 2737
106 #pragma diag_suppress 2739
107#endif
108
109#else
110// warnings already disabled:
111# ifndef EIGEN_WARNINGS_DISABLED_2
112# define EIGEN_WARNINGS_DISABLED_2
113# elif defined(EIGEN_INTERNAL_DEBUGGING)
114# error "Do not include \"DisableStupidWarnings.h\" recursively more than twice!"