diff options
Diffstat (limited to 'intern/cycles/device')
-rw-r--r-- | intern/cycles/device/hip/device.cpp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/intern/cycles/device/hip/device.cpp b/intern/cycles/device/hip/device.cpp index 25e932ef080..a9c7b1ba841 100644 --- a/intern/cycles/device/hip/device.cpp +++ b/intern/cycles/device/hip/device.cpp @@ -57,9 +57,16 @@ bool device_hip_init() } } else { - VLOG(1) << "HIPEW initialization failed: " - << ((hipew_result == HIPEW_ERROR_ATEXIT_FAILED) ? "Error setting up atexit() handler" : - "Error opening the library"); + if (hipew_result == HIPEW_ERROR_ATEXIT_FAILED) { + VLOG(1) << "HIPEW initialization failed: Error setting up atexit() handler"; + } + else if (hipew_result == HIPEW_ERROR_OLD_DRIVER) { + VLOG(1) << "HIPEW initialization failed: Driver version too old, requires AMD Radeon Pro " + "21.Q4 driver or newer"; + } + else { + VLOG(1) << "HIPEW initialization failed: Error opening HIP dynamic library"; + } } return result; |