fix: remove unsupported AMDGPU_TARGETS (gfx1200) for ROCm 6.1

ROCm 6.1's AMD clang 17 doesn't support gfx1200 (RDNA4).
Use only targets supported by ROCm 6.1: gfx906, gfx908, gfx90a, gfx1030, gfx1100.
This commit is contained in:
2026-05-09 22:30:21 -04:00
parent 5b210fe624
commit 0c612d9731

View File

@@ -46,7 +46,7 @@ ENV LDFLAGS=-s
RUN mkdir -p build && cd build && \
cmake .. \
--preset 'ROCm 6' \
-DAMDGPU_TARGETS="gfx906:xnack-;gfx940;gfx1010;gfx1030;gfx1100;gfx1200" \
-DAMDGPU_TARGETS="gfx906:xnack-;gfx908:xnack-;gfx90a:xnack-;gfx1030;gfx1100" \
-DCMAKE_HIP_COMPILER=/opt/rocm/bin/amdclang++ \
-DCMAKE_BUILD_TYPE=Release && \
cmake --build . -- -l $(nproc) && \