diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-11-23 17:46:28 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-11-23 17:46:28 +0300 |
commit | b716a771b4d3285e316fbb9515bee6e47b7887c1 (patch) | |
tree | ae476e08b134cf2c0e065153cfa731630a20195f /intern/cycles | |
parent | fca8eb01855dc52774fa0d16b1e8c845cf996bf8 (diff) | |
parent | 3bb8d173e70c1ec80612733c63efedc5e1d854e5 (diff) |
Merge branch 'blender-v3.0-release'
Diffstat (limited to 'intern/cycles')
-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; |