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
465e05f5
"git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "c9e3c6589f6074963a213294abd43a5ed076ed9a"
Commit
465e05f5
authored
Jul 12, 2018
by
Davis King
Browse files
Work around bug in older version of nvcc.
parent
71fab625
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
dlib/optimization/optimization_oca.h
dlib/optimization/optimization_oca.h
+2
-1
No files found.
dlib/optimization/optimization_oca.h
View file @
465e05f5
...
...
@@ -62,6 +62,7 @@ namespace dlib
sub_max_iter
=
50000
;
inactive_thresh
=
20
;
max_runtime
=
std
::
chrono
::
hours
(
24
*
356
*
290
);
// 290 years
}
void
set_subproblem_epsilon
(
...
...
@@ -417,7 +418,7 @@ namespace dlib
unsigned
long
inactive_thresh
;
std
::
chrono
::
nanoseconds
max_runtime
=
std
::
chrono
::
hours
(
24
*
356
*
290
);
// 290 years
std
::
chrono
::
nanoseconds
max_runtime
;
};
}
...
...
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