diff --git a/CHANGELOG.md b/CHANGELOG.md index 581cbf3..ad1d900 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,9 @@ remains unsupported. - Added non-blocking Metal compute submission through `submit_words` and `wait`, with completion-aware resource retirement and a sixteen-dispatch in-flight limit. Synchronous calls keep their existing behavior. The benchmark reports the host submission split and compares synchronous and pipelined batches. - Extended the read-only RDNA2 planning CLI (`python3 -m qa rdna2`) with family/status filters, compact summaries, Codex-ready manifests under `artifacts/`, active-claim exclusion (family claims exclude those families; path-only claims block overlapping permitted files), coverage reconcile against `semantic_coverage` without inflating counts, and inventory diffs. Covered by `tests/qa/test_rdna2_plan.py`; planning only, no GPU production edits. +### Fixed +- Made the native semantic-review timeout in `scripts/test-gpu.sh` configurable with `XENORA_SEMANTIC_TIMEOUT` and raised its default from 120 to 300 seconds, so cold Apple Silicon runs do not fail while the expanded Metal known-answer suite is still progressing. + ### Added - Added a documented independent acceptance rule for promoting AMD RDNA2 desktop GPU (gfx1030) forms from local CPU and Metal results to `fixture verified`, including clean-commit evidence, reviewer independence, raw-log location, review-log summary, failure handling and status regeneration (#302). - Added the VOP3A (`_e64`) encodings of eleven gfx1030 VOP2 integer forms (`v_mul_{i32_i24,hi_i32_i24,u32_u24,hi_u32_u24}`, `v_{min,max}_{i32,u32}`, `v_xnor_b32`, `v_sub_nc_u32`, `v_subrev_nc_u32`) and of the sixteen Wave32 integer compares (explicit SGPR mask destination, `s_cbranch_vccz` through `vcc_lo`, a translation error for reads of runtime-only SGPR results) as semantic-registry encoding variants, with VGPR sources only. New fixtures `vop3-integer` and `vop3-compare` with IR and MSL goldens, and an independent guide-derived oracle (`tests/validation/tests/vop3_{integer,compare}.rs`) that agrees on both reference interpreters and on native Metal. Part of #215. diff --git a/README.md b/README.md index 55d685f..82da167 100644 --- a/README.md +++ b/README.md @@ -309,7 +309,7 @@ These require a Metal-capable Apple Silicon Mac. scripts/test-gpu.sh ``` -The native test suite enables Metal API and shader validation and tests the supported compute, rendering and texture paths. +The native test suite enables Metal API and shader validation and tests the supported compute, rendering and texture paths. The full semantic-review batch defaults to a 300-second timeout; set `XENORA_SEMANTIC_TIMEOUT` to raise or lower it for a slower or faster host. ### Verify guest execution diff --git a/scripts/test-gpu.sh b/scripts/test-gpu.sh index d7be36b..27a4f27 100755 --- a/scripts/test-gpu.sh +++ b/scripts/test-gpu.sh @@ -8,6 +8,10 @@ export MTL_SHADER_VALIDATION=1 export MTL_SHADER_VALIDATION_REPORT_TO_STDERR=1 export MTL_SHADER_VALIDATION_ABORT_ON_FAULT=1 export CARGO_BUILD_JOBS=${CARGO_BUILD_JOBS:-4} +# The full semantic-review batch is much larger than the individual GPU tests. +# Cold Apple Silicon runs can exceed two minutes; keep the default bounded but +# allow slower hosts to raise it without editing the script. +export XENORA_SEMANTIC_TIMEOUT=${XENORA_SEMANTIC_TIMEOUT:-300s} cargo test --locked -p xenora-metal --features gpu-tests --test native_compute --no-run timeout 30s cargo test --locked -p xenora-metal --features gpu-tests --test native_compute -- \ @@ -58,4 +62,4 @@ timeout 30s cargo test --locked -p xenora-ffi --features gpu-tests --test audio_ # Native Metal known answers of the independent semantic review, including SOP2 scalar ALU # and VOPC compares. cargo test --locked -p xenora-semantic-review --no-run -timeout 120s cargo test --locked -p xenora-semantic-review -- --ignored --nocapture --test-threads=1 +timeout "$XENORA_SEMANTIC_TIMEOUT" cargo test --locked -p xenora-semantic-review -- --ignored --nocapture --test-threads=1