Unverified Commit 7f6746e7 authored by Adrià Arrufat's avatar Adrià Arrufat Committed by GitHub
Browse files

Fix nvidia pragma warning (#2454)

parent 709b6667
...@@ -22,7 +22,11 @@ ...@@ -22,7 +22,11 @@
// Disable the "statement is unreachable" message since it will go off on code that is // 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 // actually reachable but just happens to not be reachable sometimes during certain
// template instantiations. // template instantiations.
#ifdef __NVCC_DIAG_PRAGMA_SUPPORT__
#pragma nv_diag_suppress code_is_unreachable
#else
#pragma diag_suppress code_is_unreachable #pragma diag_suppress code_is_unreachable
#endif
#endif #endif
......
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