"docs/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "65ecbb94921aa961a9be643100262c9abafc1830"
Commit a6c331ce authored by Davis King's avatar Davis King
Browse files

Suppress bogus warnings from nvcc about unreachable code that is actually

reachable.
parent 4103be8b
...@@ -18,6 +18,13 @@ ...@@ -18,6 +18,13 @@
#endif #endif
#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 #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