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.
This commit is contained in:
parent
cca416cfe6
commit
602cca671e
@ -49,8 +49,7 @@ bool device_oneapi_init()
|
|||||||
|
|
||||||
/* This shouldn't happen, but it still makes sense to have a branch for this. */
|
/* This shouldn't happen, but it still makes sense to have a branch for this. */
|
||||||
if (lib_handle == NULL) {
|
if (lib_handle == NULL) {
|
||||||
LOG(ERROR) << "oneAPI kernel shared library cannot be loaded for some reason. This should not "
|
LOG(ERROR) << "oneAPI kernel shared library cannot be loaded: " << dlerror();
|
||||||
"happen, however, it occurs hence oneAPI rendering will be disabled";
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user