Cycles: HIP search for ROCm 6 driver

This should be backwards compatible, and is more future proof
for future driver releases.

Pull Request: https://projects.blender.org/blender/blender/pulls/118944
This commit is contained in:
Sahar A. Kashi 2024-03-05 19:50:29 +01:00 committed by Brecht Van Lommel
parent 6181341bad
commit e65de74aa5

@ -233,7 +233,7 @@ static int hipewHipInit(void) {
/* Library paths. */
#ifdef _WIN32
/* Expected in C:/Windows/System32 or similar, no path needed. */
const char *hip_paths[] = {"amdhip64.dll", NULL};
const char *hip_paths[] = {"amdhip64.dll", "amdhip64_6.dll", NULL};
#elif defined(__APPLE__)
/* Default installation path. */