Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
7f6746e7
"src/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "abcb25978a53d9f3f3a639ecf732c95b002d8a7b"
Unverified
Commit
7f6746e7
authored
Nov 02, 2021
by
Adrià Arrufat
Committed by
GitHub
Nov 02, 2021
Browse files
Fix nvidia pragma warning (#2454)
parent
709b6667
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
dlib/algs.h
dlib/algs.h
+4
-0
No files found.
dlib/algs.h
View file @
7f6746e7
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment