[PR #1538] [CLOSED] tests: skip expert_cache_segmented_test on HIP builds (#1475) #3518

Closed
opened 2026-11-07 14:42:02 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/1538
Author: @nekomario28
Created: 10/8/2026
Status: ❌ Closed

Base: main ← Head: fix-1475-hip-test-skip


📝 Commits (1)

  • aee89ba tests: skip expert_cache_segmented_test on HIP builds (#1475)

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 tests/core/expert_cache_segmented_test.cpp (+2 -1)

📄 Description

Summary

  • expert_cache_segmented_test is registered with SKIP_RETURN_CODE 77 and skips cleanly on missing devices or missing driver VMM support — but on HIP builds open_segmented is compiled out (STRATA_EC_NO_VMM) and refuses with --vram-elastic (a segmented expert cache) is CUDA-only for now, which fell through to fail("open") and showed as a ctest failure on every AMD run.
  • Match the CUDA-only refusal alongside the VMM one so the test reports skip (77) like the other backend-specific tests.

Fixes #1475.

Test plan

  • g++ -std=c++20 -fsyntax-only on the test via the HIP compat include path: clean
  • HIP ctest run: expert_cache_segmented_test shows "Skipped" instead of "Failed" (needs an AMD machine — reporter's R9700 environment per #1475)
  • CUDA build: unchanged — the wait/cudaGetDeviceCount and VMM paths behave exactly as before

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/1538 **Author:** [@nekomario28](https://github.com/nekomario28) **Created:** 10/8/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix-1475-hip-test-skip` --- ### 📝 Commits (1) - [`aee89ba`](https://github.com/Niko1221/Strata/commit/aee89ba7f431b6f15aadf68052eda6d98ba78871) tests: skip expert_cache_segmented_test on HIP builds (#1475) ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `tests/core/expert_cache_segmented_test.cpp` (+2 -1) </details> ### 📄 Description ## Summary - `expert_cache_segmented_test` is registered with `SKIP_RETURN_CODE 77` and skips cleanly on missing devices or missing driver VMM support — but on HIP builds `open_segmented` is compiled out (`STRATA_EC_NO_VMM`) and refuses with `--vram-elastic (a segmented expert cache) is CUDA-only for now`, which fell through to `fail("open")` and showed as a ctest failure on every AMD run. - Match the CUDA-only refusal alongside the VMM one so the test reports skip (77) like the other backend-specific tests. Fixes #1475. ## Test plan - [x] `g++ -std=c++20 -fsyntax-only` on the test via the HIP compat include path: clean - [ ] HIP ctest run: `expert_cache_segmented_test` shows "Skipped" instead of "Failed" (needs an AMD machine — reporter's R9700 environment per #1475) - [ ] CUDA build: unchanged — the wait/`cudaGetDeviceCount` and VMM paths behave exactly as before --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 14:42:02 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3518
No description provided.