mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-12 14:25:16 +08:00
Disable more CUDA warnings.
For cuda 9.2 and 11.4, they changed the numbers again. Fixes #2331.
This commit is contained in:
parent
de218b471d
commit
21640612be
@ -94,13 +94,19 @@
|
|||||||
#pragma diag_suppress 2735
|
#pragma diag_suppress 2735
|
||||||
#pragma diag_suppress 2737
|
#pragma diag_suppress 2737
|
||||||
#pragma diag_suppress 2739
|
#pragma diag_suppress 2739
|
||||||
|
#pragma diag_suppress 2885
|
||||||
|
#pragma diag_suppress 2888
|
||||||
#pragma diag_suppress 2976
|
#pragma diag_suppress 2976
|
||||||
#pragma diag_suppress 2979
|
#pragma diag_suppress 2979
|
||||||
|
#pragma diag_suppress 20011
|
||||||
|
#pragma diag_suppress 20014
|
||||||
// Disable the "// __device__ annotation is ignored on a function(...) that is
|
// Disable the "// __device__ annotation is ignored on a function(...) that is
|
||||||
// explicitly defaulted on its first declaration" message.
|
// explicitly defaulted on its first declaration" message.
|
||||||
// The __device__ annotation seems to actually be needed in some cases,
|
// The __device__ annotation seems to actually be needed in some cases,
|
||||||
// otherwise resulting in kernel runtime errors.
|
// otherwise resulting in kernel runtime errors.
|
||||||
|
#pragma diag_suppress 2886
|
||||||
#pragma diag_suppress 2977
|
#pragma diag_suppress 2977
|
||||||
|
#pragma diag_suppress 20012
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user