hipBLASLt icon indicating copy to clipboard operation
hipBLASLt copied to clipboard

[Issue]: hardcoded toolchain paths break on Fedora and OpenSUSE

Open trixirt opened this issue 8 months ago • 2 comments

Problem Description

There are several hard coded paths to the rocm-llvm toolchain like https://github.com/ROCm/hipBLASLt/blob/develop/tensilelite/Tensile/Ops/gen_assembly.sh#L36 and https://github.com/ROCm/hipBLASLt/blob/develop/library/src/amd_detail/rocblaslt/src/kernels/compile_code_object.sh#L37

on Fedora and OpenSUSE the path to the compiler is

hipconfig -l /usr/lib64/rocm/llvm/bin

and is not named amdclang, it is just clang

hipconfig -c clang

/usr/lib64/rocm/llvm/bin/clang++ --version clang version 19.0.0git Target: x86_64-suse-linux Thread model: posix InstalledDir: /usr/lib64/rocm/llvm/bin

Operating System

Fedora, OpenSUSE

CPU

ALL

GPU

AMD Instinct MI250

Other

No response

ROCm Version

ROCm 6.2.3

ROCm Component

No response

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

trixirt avatar Apr 19 '25 16:04 trixirt

Hi @trixirt. Internal ticket has been created to fix this issue. Thanks!

ppanchad-amd avatar Apr 21 '25 16:04 ppanchad-amd

@trixirt we are in the process of overhauling build systems. We just merged a PR a few days ago that completely removes use of those scripts. See 56a26228bf9d595dad74598ce43b2831572fefc3 on develop branch. Let me know if this resolves the issue you are facing.

davidd-amd avatar Apr 23 '25 14:04 davidd-amd

Closing this issue due to inactivity, and due to the expected resolution noted above. Feel free to reopen the issue or open a new one if the issue is not resolved with the latest develop commits.

lucbruni-amd avatar May 26 '25 14:05 lucbruni-amd