Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
ca698f63
Commit
ca698f63
authored
Aug 22, 2016
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compiler warnings
parent
679a6517
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
cublas_dlibapi.cpp
dlib/dnn/cublas_dlibapi.cpp
+1
-1
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