From 43a4ee4a2cf25de0428d618544b877731d4d3713 Mon Sep 17 00:00:00 2001 From: uvos Date: Fri, 3 Apr 2026 11:38:22 +0200 Subject: [PATCH] HIP: build eatch ci build test for a different architecture (#21337) This helps improve our chances of finding build failures before the release workflow builds for all architectures. --- .github/workflows/build.yml | 2 ++ .github/workflows/hip-quality-check.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 55167754a4..491fc0c42f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -472,6 +472,7 @@ jobs: cmake -B build -S . \ -DCMAKE_HIP_COMPILER="$(hipconfig -l)/clang" \ -DGGML_HIP_ROCWMMA_FATTN=ON \ + -DGPU_TARGETS="gfx1030" \ -DGGML_HIP=ON cmake --build build --config Release -j $(nproc) @@ -990,6 +991,7 @@ jobs: -DROCM_DIR="${env:HIP_PATH}" ` -DGGML_HIP=ON ` -DGGML_HIP_ROCWMMA_FATTN=ON ` + -DGPU_TARGETS="gfx1100" ` -DGGML_RPC=ON cmake --build build -j ${env:NUMBER_OF_PROCESSORS} diff --git a/.github/workflows/hip-quality-check.yml b/.github/workflows/hip-quality-check.yml index 7dea09acf8..d00d30ed65 100644 --- a/.github/workflows/hip-quality-check.yml +++ b/.github/workflows/hip-quality-check.yml @@ -59,7 +59,7 @@ jobs: run: | cmake -B build -S . \ -DCMAKE_HIP_COMPILER="$(hipconfig -l)/clang" \ - -DGPU_TARGETS=gfx908 \ + -DGPU_TARGETS=gfx942 \ -DGGML_HIP=ON \ -DGGML_HIP_EXPORT_METRICS=Off \ -DCMAKE_HIP_FLAGS="-Werror -Wno-tautological-compare" \