mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-05 15:58:53 +00:00
From PR #6256 (iMilnb; its commit 722f4a6cb, author kept). On a machine with a system ROCm in /opt/rocm and Ubuntu's
libamdhip64-dev HIP headers in /usr/include, `./setup.sh --update` failed to build the HIP engine: clang searches /usr/include
before the include folders that --rocm-path adds, so hipblaslt.h pulled in the distro's older HIP headers, whose __ocml_exp10 /
log / log10 / log2 calls the chosen ROCm's clang no longer declares (4 errors in src/prefill/gemm.cu). The HIP flags of the
engine build, the picture reader's HIP build and the image tool's HIP build now name the chosen root's include folder first
(-isystem <root>/include).