Suppress CUDA 10 warnings about __host__ / __device__

This commit is contained in:
Robert Maynard 2018-09-20 13:15:02 -04:00
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)