Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey@blender.org>2022-09-13 11:52:18 +0300
committerSergey Sharybin <sergey@blender.org>2022-09-13 11:52:18 +0300
commit602cca671e6905bd9942513d0c99cf7f03cce5ee (patch)
treec36df33c0aaef681294428cacc2d067c20a28103
parentcca416cfe6c21ee9d0feb9d87995e505604b491e (diff)
Cycles: Include reason the oneAPI library could not be loaded
Additionally, just stick to a pure error stating. Such messages are aimed for developers and it is rather implied that oneAPI rendering will be disabled.
-rw-r--r--intern/cycles/device/oneapi/device.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/intern/cycles/device/oneapi/device.cpp b/intern/cycles/device/oneapi/device.cpp
index 8056c204188..f0d90fb504f 100644
--- a/intern/cycles/device/oneapi/device.cpp
+++ b/intern/cycles/device/oneapi/device.cpp
@@ -49,8 +49,7 @@ bool device_oneapi_init()
/* This shouldn't happen, but it still makes sense to have a branch for this. */
if (lib_handle == NULL) {
- LOG(ERROR) << "oneAPI kernel shared library cannot be loaded for some reason. This should not "
- "happen, however, it occurs hence oneAPI rendering will be disabled";
+ LOG(ERROR) << "oneAPI kernel shared library cannot be loaded: " << dlerror();
return false;
}