mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +08:00
Added a few comments
This commit is contained in:
parent
5d82e47ef6
commit
f933f69021
@ -43,8 +43,11 @@
|
||||
#pragma clang diagnostic ignored "-Wconstant-logical-operand"
|
||||
|
||||
#elif defined __NVCC__
|
||||
// Disable the "statement is unreachable" message
|
||||
#pragma diag_suppress code_is_unreachable
|
||||
// Disable the "dynamic initialization in unreachable code" message
|
||||
#pragma diag_suppress initialization_not_reachable
|
||||
// Disable the "calling a __host__ function from a __host__ __device__ function is not allowed" messages
|
||||
#pragma diag_suppress 2651
|
||||
#pragma diag_suppress 2653
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user