Skip to content

Commit

Permalink
Change warning message for tensoradapter when not found (dmlc#4055)
Browse files Browse the repository at this point in the history
* change warning message

* Update tensordispatch.cc
  • Loading branch information
BarclayII authored May 28, 2022
1 parent 00c09b9 commit 9922f41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/runtime/tensordispatch.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 9922f41

Please sign in to comment.