Suppress CUDA 10 warnings about __host__ / __device__
This commit is contained in:
parent
23c5f11823
commit
17a93921c3
@ -485,6 +485,10 @@ inline void deduce(Trampoline&& trampoline, ContParams&& sig, Args&&... args)
|
||||
#pragma diag_suppress 2885
|
||||
#endif
|
||||
|
||||
#if (__CUDACC_VER_MAJOR__ >= 10)
|
||||
#pragma diag_suppress 2905
|
||||
#endif
|
||||
|
||||
#endif
|
||||
//This is a separate function as the pragma guards can cause nvcc
|
||||
//to have an internal compiler error (codegen #3028)
|
||||
|
Loading…
Reference in New Issue
Block a user