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
893824a1
Commit
893824a1
authored
Apr 29, 2016
by
Davis King
Browse files
Fixed compiler warnings
parent
aba68d6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dlib/dnn/cuda_dlib.h
dlib/dnn/cuda_dlib.h
+2
-2
No files found.
dlib/dnn/cuda_dlib.h
View file @
893824a1
...
@@ -262,9 +262,9 @@ namespace dlib
...
@@ -262,9 +262,9 @@ namespace dlib
inline
int
get_num_devices
(
inline
int
get_num_devices
(
)
{
return
1
;
}
)
{
return
1
;
}
inline
bool
can_access_peer
(
int
device_id
,
int
peer_device_id
)
inline
bool
can_access_peer
(
int
,
int
)
{
return
false
;
}
{
return
false
;
}
inline
bool
can_access_peer
(
const
tensor
&
device
,
const
tensor
&
peer_device
)
inline
bool
can_access_peer
(
const
tensor
&
,
const
tensor
&
)
{
return
false
;
}
{
return
false
;
}
inline
void
device_synchronize
(
int
){}
inline
void
device_synchronize
(
int
){}
...
...
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