mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Change CUDA version check for cudaSync from 10000 to 10010 (#1704)
This commit is contained in:
parent
ae406bf4c1
commit
64ad6b2591
@ -83,7 +83,7 @@ namespace dlib
|
||||
{
|
||||
#if !defined CUDA_VERSION
|
||||
#error CUDA_VERSION not defined
|
||||
#elif CUDA_VERSION >= 9020 && CUDA_VERSION <= 10000
|
||||
#elif CUDA_VERSION >= 9020 && CUDA_VERSION <= 10010
|
||||
// This should be pretty much the same as cudaStreamSynchronize, which for some
|
||||
// reason makes training freeze in some cases.
|
||||
// (see https://github.com/davisking/dlib/issues/1513)
|
||||
|
Loading…
Reference in New Issue
Block a user