Disable more CUDA warnings.

For cuda 9.2 and 11.4, they changed the numbers again.

Fixes #2331.
This commit is contained in:
Antonio Sanchez 2021-09-24 21:31:14 -07:00
parent de218b471d
commit 21640612be

View File

@ -94,13 +94,19 @@
#pragma diag_suppress 2735
#pragma diag_suppress 2737
#pragma diag_suppress 2739
#pragma diag_suppress 2885
#pragma diag_suppress 2888
#pragma diag_suppress 2976
#pragma diag_suppress 2979
#pragma diag_suppress 20011
#pragma diag_suppress 20014
// Disable the "// __device__ annotation is ignored on a function(...) that is
// explicitly defaulted on its first declaration" message.
// The __device__ annotation seems to actually be needed in some cases,
// otherwise resulting in kernel runtime errors.
#pragma diag_suppress 2886
#pragma diag_suppress 2977
#pragma diag_suppress 20012
#endif
#else