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
dgl
Commits
9922f41f
Unverified
Commit
9922f41f
authored
May 29, 2022
by
Quan (Andy) Gan
Committed by
GitHub
May 29, 2022
Browse files
Change warning message for tensoradapter when not found (#4055)
* change warning message * Update tensordispatch.cc
parent
00c09b9f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/runtime/tensordispatch.cc
src/runtime/tensordispatch.cc
+2
-1
No files found.
src/runtime/tensordispatch.cc
View file @
9922f41f
...
...
@@ -40,7 +40,8 @@ bool TensorDispatcher::Load(const char *path) {
handle_
=
dlopen
(
path
,
RTLD_LAZY
);
if
(
!
handle_
)
{
DLOG
(
WARNING
)
<<
"TensorDispatcher: dlopen failed: "
<<
dlerror
();
DLOG
(
WARNING
)
<<
"Could not open file: "
<<
dlerror
()
<<
". This does not affect DGL's but might impact its performance."
;
return
false
;
}
...
...
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