Skip to content

Conversation

@jbiffl
Copy link
Contributor

@jbiffl jbiffl commented Oct 21, 2025

Changes rel_libdir for Windows to "bin", otherwise leaves it as "" and leaves lib_prefix untouched to preserve Linux functionality.

Note: amdhip64_6.dll is in a subdirectory on Windows, but libamdhip64.so is top level to the ROCm path in Linux. This difference may cause issues for libhip in the future if it is ever modified to be consistent across platforms.

Changes only rel_libdir for windows to "dir", otherwise leaves it as "" and leaves lib_prefix untouched to preserve linux functionality.
@luraess
Copy link
Member

luraess commented Oct 21, 2025

This modification seems to address the discovery issue on Windows and Ubuntu (24.04 - ROCm 6.4 - the CI machine). It would be nice if folks with different OS (Fedora amongst others as per #788) could check whether this fix still enables discovery on their side.
Note that this fix is not intended to solve other open discovery issue.

@simeonschaub
Copy link
Member

Can confirm everything is still working as expected in Fedora

@luraess luraess merged commit fd92a82 into JuliaGPU:master Oct 22, 2025
3 checks passed
@luraess
Copy link
Member

luraess commented Oct 22, 2025

Thanks @jbiffl !

@jbiffl jbiffl deleted the jbiffl-patch-2 branch October 22, 2025 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants