mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Disable 2 more nvcc warning messages
This commit is contained in:
@@ -47,10 +47,11 @@
|
|||||||
#pragma diag_suppress code_is_unreachable
|
#pragma diag_suppress code_is_unreachable
|
||||||
// Disable the "dynamic initialization in unreachable code" message
|
// Disable the "dynamic initialization in unreachable code" message
|
||||||
#pragma diag_suppress initialization_not_reachable
|
#pragma diag_suppress initialization_not_reachable
|
||||||
// Disable the "calling a __host__ function from a __host__ __device__ function is not allowed" messages
|
// Disable the "calling a __host__ function from a __host__ __device__ function is not allowed" messages (yes, there are 4 of them)
|
||||||
#pragma diag_suppress 2651
|
#pragma diag_suppress 2651
|
||||||
#pragma diag_suppress 2653
|
#pragma diag_suppress 2653
|
||||||
|
#pragma diag_suppress 2668
|
||||||
|
#pragma diag_suppress 2670
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // not EIGEN_WARNINGS_DISABLED
|
#endif // not EIGEN_WARNINGS_DISABLED
|
||||||
|
|||||||
Reference in New Issue
Block a user