diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-09-13 11:52:18 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2022-09-13 11:52:18 +0300 |
commit | 602cca671e6905bd9942513d0c99cf7f03cce5ee (patch) | |
tree | c36df33c0aaef681294428cacc2d067c20a28103 /intern/cycles | |
parent | cca416cfe6c21ee9d0feb9d87995e505604b491e (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.
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/device/oneapi/device.cpp | 3 |
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; } |