mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-08 22:09:06 +08:00
Disable 2 more nvcc warning messages
This commit is contained in:
parent
1cbb79cdfd
commit
727ff26960
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user