"src/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "abcb25978a53d9f3f3a639ecf732c95b002d8a7b"
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 @@
// 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.
#ifdef __NVCC_DIAG_PRAGMA_SUPPORT__
#pragma nv_diag_suppress code_is_unreachable
#else
#pragma diag_suppress code_is_unreachable
#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