mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix #109562: Cycles HIP device not found on Debian
Try loading ROCm 5.x libraries specifically, as the .so without version is only part of the development package. Thanks to Lee Ringham investigating and proposing this solution.
This commit is contained in:
parent
0976c7bdfe
commit
b510f68a67
1 changed files with 4 additions and 1 deletions
5
extern/hipew/src/hipew.c
vendored
5
extern/hipew/src/hipew.c
vendored
|
|
@ -253,7 +253,10 @@ static int hipewHipInit(void) {
|
|||
/* Default installation path. */
|
||||
const char *hip_paths[] = {"", NULL};
|
||||
#else
|
||||
const char *hip_paths[] = {"libamdhip64.so", "/opt/rocm/hip/lib/libamdhip64.so", NULL};
|
||||
const char *hip_paths[] = {"libamdhip64.so.5",
|
||||
"/opt/rocm/hip/lib/libamdhip64.so.5",
|
||||
"libamdhip64.so",
|
||||
"/opt/rocm/hip/lib/libamdhip64.so", NULL};
|
||||
#endif
|
||||
static int initialized = 0;
|
||||
static int result = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue