71// Disable the "invalid error number" message that we get with older versions of nvcc
72 #pragma diag_suppress 1222
73// 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)
74 #pragma diag_suppress 2527
75 #pragma diag_suppress 2529
76 #pragma diag_suppress 2651
77 #pragma diag_suppress 2653
78 #pragma diag_suppress 2668
79 #pragma diag_suppress 2669
80 #pragma diag_suppress 2670
81 #pragma diag_suppress 2671
82 #pragma diag_suppress 2735
83 #pragma diag_suppress 2737
84#endif
85
86#else
87// warnings already disabled:
88# ifndef EIGEN_WARNINGS_DISABLED_2
89# define EIGEN_WARNINGS_DISABLED_2
90# elif defined(EIGEN_INTERNAL_DEBUGGING)
91# error "Do not include \"DisableStupidWarnings.h\" recursively more than twice!"