Files
Strata/terminal/tools/image
Niko1221 41c00c6eed setup: compile the HIP engine against the chosen ROCm's own headers (#6256, #6255)
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).
2026-11-19 13:10:56 +01:00
..