Skip to content

Commit 47b3e0e

Browse files
committed
[CI] Fix AMDGPU arch flag for Codeplay runner
Signed-off-by: Sarnie, Nick <[email protected]>
1 parent 75f476d commit 47b3e0e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/sycl-linux-run-tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,11 @@ jobs:
284284
echo "opts=$CMAKE_EXTRA_ARGS" >> $GITHUB_OUTPUT
285285
else
286286
if [ "${{ contains(inputs.target_devices, 'ext_oneapi_hip') }}" == "true" ]; then
287-
echo 'opts=-DHIP_PLATFORM="AMD" -DAMD_ARCH="gfx1031"' >> $GITHUB_OUTPUT
287+
if [ "${{ runner.name }}" == "cp-amd-runner" ]; then
288+
echo 'opts=-DHIP_PLATFORM="AMD" -DAMD_ARCH="gfx1030"' >> $GITHUB_OUTPUT
289+
else
290+
echo 'opts=-DHIP_PLATFORM="AMD" -DAMD_ARCH="gfx1031"' >> $GITHUB_OUTPUT
291+
fi
288292
else
289293
echo 'opts=' >> $GITHUB_OUTPUT
290294
fi

0 commit comments

Comments
 (0)