Commit a6c331ce authored by Davis King's avatar Davis King

Suppress bogus warnings from nvcc about unreachable code that is actually

reachable.
parent 4103be8b
......@@ -18,6 +18,13 @@
#endif
#endif
#if defined __NVCC__
// Disable the "statement is unreachable" message since it will go off on code that is
// actually reachable but just happens to not be reachable sometimes during certain
// template instantiations.
#pragma diag_suppress code_is_unreachable
#endif
#ifdef _MSC_VER
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment