"examples/community/stable_diffusion_repaint.py" did not exist on "91925fbb761d944d54271660c4c3cffee55798fa"
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