[rocm-libraries] ROCm/rocm-libraries#7612 (commit 5427d24)

[CK] upgrade CI to rocm7.13 as default compiler (#7612)

## Motivation

Upgrade the default docker and compiler version in CI to rocm7.13.
In order to pass all the checks I had to also clean up a lot of
non-ascii characters in the source code comments and modify a couple of
tests that were affected by a new compiler logic.

## Technical Details

<!-- Explain the changes along with any relevant GitHub links. -->

## Test Plan

<!-- Explain any relevant testing done to verify this PR. -->

## Test Result

<!-- Briefly summarize test outcomes. -->

## Submission Checklist

- [ ] Look over the contributing guidelines at
https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests.

---------

Co-authored-by: Aviral Goel <aviral.goel@amd.com>
This commit is contained in:
Illia Silin
2026-05-21 19:43:50 -07:00
committed by GitHub
parent fc2862d712
commit e02c566795
103 changed files with 416 additions and 475 deletions

View File

@@ -252,13 +252,20 @@ def main():
# Extract basenames for regex (e.g., bin/test_gemm -> test_gemm)
test_names = [os.path.basename(t) for t in tests]
# Anchor each name with ^...$ and escape regex metacharacters so that
# `ctest -R` does exact-name matching rather than substring matching
# (otherwise e.g. 'test_grouped_convnd_bwd_weight' would substring-match
# 'test_grouped_convnd_bwd_weight_bilinear' and try to run an
# executable that was never built).
anchored = [f"^{re.escape(n)}$" for n in test_names]
# Split into chunks
for i in range(0, len(test_names), chunk_size):
chunk = test_names[i:i + chunk_size]
for i in range(0, len(anchored), chunk_size):
chunk = anchored[i:i + chunk_size]
regex_chunks.append("|".join(chunk))
# Keep single regex for backward compatibility (but may be too long)
regex = "|".join(test_names)
regex = "|".join(anchored)
else:
regex = ""