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
ca698f63
Commit
ca698f63
authored
Aug 22, 2016
by
Davis King
Browse files
Fixed compiler warnings
parent
679a6517
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dlib/dnn/cublas_dlibapi.cpp
dlib/dnn/cublas_dlibapi.cpp
+1
-1
dlib/dnn/cudnn_dlibapi.cpp
dlib/dnn/cudnn_dlibapi.cpp
+1
-1
No files found.
dlib/dnn/cublas_dlibapi.cpp
View file @
ca698f63
...
...
@@ -70,7 +70,7 @@ namespace dlib
int
new_device_id
;
CHECK_CUDA
(
cudaGetDevice
(
&
new_device_id
));
// make room for more devices if needed
if
(
new_device_id
>=
handles
.
size
())
if
(
new_device_id
>=
(
long
)
handles
.
size
())
handles
.
resize
(
new_device_id
+
16
);
// If we don't have a handle already for this device then make one
...
...
dlib/dnn/cudnn_dlibapi.cpp
View file @
ca698f63
...
...
@@ -94,7 +94,7 @@ namespace dlib
int
new_device_id
;
CHECK_CUDA
(
cudaGetDevice
(
&
new_device_id
));
// make room for more devices if needed
if
(
new_device_id
>=
handles
.
size
())
if
(
new_device_id
>=
(
long
)
handles
.
size
())
handles
.
resize
(
new_device_id
+
16
);
// If we don't have a handle already for this device then make one
...
...
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