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
64ad6b25
Commit
64ad6b25
authored
Mar 27, 2019
by
Facundo Galán
Committed by
Davis E. King
Mar 27, 2019
Browse files
Change CUDA version check for cudaSync from 10000 to 10010 (#1704)
parent
ae406bf4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/cuda/gpu_data.cpp
dlib/cuda/gpu_data.cpp
+1
-1
No files found.
dlib/cuda/gpu_data.cpp
View file @
64ad6b25
...
@@ -83,7 +83,7 @@ namespace dlib
...
@@ -83,7 +83,7 @@ namespace dlib
{
{
#if !defined CUDA_VERSION
#if !defined CUDA_VERSION
#error CUDA_VERSION not defined
#error CUDA_VERSION not defined
#elif CUDA_VERSION >= 9020 && CUDA_VERSION <= 100
0
0
#elif CUDA_VERSION >= 9020 && CUDA_VERSION <= 100
1
0
// This should be pretty much the same as cudaStreamSynchronize, which for some
// This should be pretty much the same as cudaStreamSynchronize, which for some
// reason makes training freeze in some cases.
// reason makes training freeze in some cases.
// (see https://github.com/davisking/dlib/issues/1513)
// (see https://github.com/davisking/dlib/issues/1513)
...
...
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