From 9922f41f06e53aa5eb75a68bea615ed59d2e0b03 Mon Sep 17 00:00:00 2001 From: "Quan (Andy) Gan" Date: Sun, 29 May 2022 02:04:31 +0800 Subject: [PATCH] Change warning message for tensoradapter when not found (#4055) * change warning message * Update tensordispatch.cc --- src/runtime/tensordispatch.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/runtime/tensordispatch.cc b/src/runtime/tensordispatch.cc index 75dbfe7d6318..4906db82fe03 100644 --- a/src/runtime/tensordispatch.cc +++ b/src/runtime/tensordispatch.cc @@ -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; }