[PR #1326] GPU test runners: report failed compute dumps after subgroup warnings (DRAFT-125) #1357

Open
opened 2026-11-26 20:20:58 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1326
Author: @fin-github
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: codex/draft-125


📝 Commits (1)

  • d646d67 Do not skip failed compute dumps after subgroup warning

📊 Changes

4 files changed (+76 additions, -10 deletions)

View changed files

📝 runtime/test/shaders/check.py (+14 -1)
📝 scripts/run_gpu_tests.py (+4 -4)
📝 tests/test_run_gpu_tests.py (+37 -4)
📝 tests/test_shader_checks.py (+21 -1)

📄 Description

Claimed in the coordination issue as: DRAFT-125 (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7145519617).

What and why

Supersedes draft #125 (old PR 9859 by WebIdentity1) and preserves the original commit author. A requested subgroup size can be unavailable, yet the fallback dispatch can still run. In dump mode, both GPU test runners now require a complete eight-word dump, no validation errors, and status 0 or 1 before treating an unpinned dispatch as a skip. The reserved exit-77 path still handles unsupported devices.

Tested

  • Added regression cases reproduced on upstream main at 4a50cafc7. The two runners incorrectly skipped synthetic child failures with an unpinned subgroup warning.
  • Windows 11, CPython 3.14.4: python -I tests/test_run_gpu_tests.py (65 passed) and python -I tests/test_shader_checks.py (88 passed). The cases also exercise legitimate unpinned and exit-77 skips.
  • python -I -m py_compile runtime/test/shaders/check.py scripts/run_gpu_tests.py tests/test_run_gpu_tests.py tests/test_shader_checks.py, python -I scripts/run_gpu_tests.py --help, python -I scripts/check_no_game_data.py runtime/test/shaders/check.py scripts/run_gpu_tests.py tests/test_run_gpu_tests.py tests/test_shader_checks.py, and git diff --check upstream/main...HEAD passed.

GPUs tested: N/A (synthetic child output, CPU only).

AI-assisted: yes (Codex).

Checklist

  • Based on upstream main; the original commit applied cleanly.
  • One topic.
  • No game data, keys, or decryption.

Translator contract: N/A.


🔄 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/ubiquitarianism/leonida/pull/1326 **Author:** [@fin-github](https://github.com/fin-github) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `codex/draft-125` --- ### 📝 Commits (1) - [`d646d67`](https://github.com/ubiquitarianism/leonida/commit/d646d677fac3a168f2f6a04eaee929a100ac88a6) Do not skip failed compute dumps after subgroup warning ### 📊 Changes **4 files changed** (+76 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `runtime/test/shaders/check.py` (+14 -1) 📝 `scripts/run_gpu_tests.py` (+4 -4) 📝 `tests/test_run_gpu_tests.py` (+37 -4) 📝 `tests/test_shader_checks.py` (+21 -1) </details> ### 📄 Description Claimed in the coordination issue as: DRAFT-125 (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7145519617). ### What and why Supersedes draft #125 (old PR 9859 by WebIdentity1) and preserves the original commit author. A requested subgroup size can be unavailable, yet the fallback dispatch can still run. In dump mode, both GPU test runners now require a complete eight-word dump, no validation errors, and status 0 or 1 before treating an unpinned dispatch as a skip. The reserved exit-77 path still handles unsupported devices. ### Tested - Added regression cases reproduced on upstream `main` at `4a50cafc7`. The two runners incorrectly skipped synthetic child failures with an unpinned subgroup warning. - Windows 11, CPython 3.14.4: `python -I tests/test_run_gpu_tests.py` (65 passed) and `python -I tests/test_shader_checks.py` (88 passed). The cases also exercise legitimate unpinned and exit-77 skips. - `python -I -m py_compile runtime/test/shaders/check.py scripts/run_gpu_tests.py tests/test_run_gpu_tests.py tests/test_shader_checks.py`, `python -I scripts/run_gpu_tests.py --help`, `python -I scripts/check_no_game_data.py runtime/test/shaders/check.py scripts/run_gpu_tests.py tests/test_run_gpu_tests.py tests/test_shader_checks.py`, and `git diff --check upstream/main...HEAD` passed. GPUs tested: N/A (synthetic child output, CPU only). AI-assisted: yes (Codex). ### Checklist - [x] Based on upstream `main`; the original commit applied cleanly. - [x] One topic. - [x] No game data, keys, or decryption. Translator contract: N/A. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
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
starred/leonida#1357
No description provided.