[PR #2611] [CLOSED] sycl: strata-sycl.sh passes EnableRecoverablePageFaults on to the container, 0 included (#2157) #4167

Closed
opened 2026-11-07 15:33:44 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/2611
Author: @qiuzan2001
Created: 10/15/2026
Status: ❌ Closed

Base: main ← Head: chief-docs/sycl-recoverable-pf


📝 Commits (1)

  • ee7468b sycl: strata-sycl.sh passes EnableRecoverablePageFaults on to the container, 0 included (#2157)

📊 Changes

1 file changed (+11 additions, -4 deletions)

View changed files

📝 sycl/serve/strata-sycl.sh (+11 -4)

📄 Description

What it changes. sycl/serve/strata-sycl.sh (the Docker launcher setup.py --backend sycl installs, via sycl/setup_intel.py) forwards a fixed set of variables into the container and drops any value of 0 (for the engine's switches, 0 means "not set"). #2157's fix for a lost Arc card is NEOReadDebugKeys=1 with EnableRecoverablePageFaults=0 in the engine's environment (2 of 3 runs lost the card without, 0 of 4 with, on the reporter's 2x Arc Pro B70); the second key never reached a setup install: its name was not on the list, and its value is 0. Now EnableRecoverablePageFaults is forwarded with any non-empty value, 0 included. The docs side is #2602.

What it leaves alone. Every other variable is forwarded or dropped exactly as before (the old zero rule is unchanged in the else branch), and setup does not write the key into the config; a user adds it to "env" by hand.

How it was checked. Not run on Intel hardware (there is none here). bash -n and shellcheck (clean, as before). A dry run of the old and the new script with a stub docker on PATH that prints the -e arguments:

Environment old new
EnableRecoverablePageFaults=0 NEOReadDebugKeys=1 NEOReadDebugKeys=1 + the port defaults the same + EnableRecoverablePageFaults=0
EnableRecoverablePageFaults=1 NEOReadDebugKeys=1 NEOReadDebugKeys=1 + defaults the same + EnableRecoverablePageFaults=1
EnableRecoverablePageFaults= IGC_X=0 STRATA_VERIFY_NO_HOST=0 UR_Y=a=0 ONEAPI_DEVICE_SELECTOR=level_zero:0 ONEAPI_DEVICE_SELECTOR=level_zero:0 STRATA_STAGER_THREADS=12 STRATA_VERIFY_DEVICE_PLAN=1 UR_Y=a=0 identical

A sub-agent reviewer re-ran the comparison with more variables (zeros, empties, quoted values, no environment) and checked set -euo pipefail behaviour: only the new key differs.

🤖 Generated with Claude Code


🔄 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/2611 **Author:** [@qiuzan2001](https://github.com/qiuzan2001) **Created:** 10/15/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `chief-docs/sycl-recoverable-pf` --- ### 📝 Commits (1) - [`ee7468b`](https://github.com/Niko1221/Strata/commit/ee7468bca8ccc9086eb2feb03e7b3fd5f1df7069) sycl: strata-sycl.sh passes EnableRecoverablePageFaults on to the container, 0 included (#2157) ### 📊 Changes **1 file changed** (+11 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `sycl/serve/strata-sycl.sh` (+11 -4) </details> ### 📄 Description **What it changes.** `sycl/serve/strata-sycl.sh` (the Docker launcher `setup.py --backend sycl` installs, via `sycl/setup_intel.py`) forwards a fixed set of variables into the container and drops any value of `0` (for the engine's switches, 0 means "not set"). #2157's fix for a lost Arc card is `NEOReadDebugKeys=1` with `EnableRecoverablePageFaults=0` in the engine's environment (2 of 3 runs lost the card without, 0 of 4 with, on the reporter's 2x Arc Pro B70); the second key never reached a setup install: its name was not on the list, and its value is 0. Now `EnableRecoverablePageFaults` is forwarded with any non-empty value, 0 included. The docs side is #2602. **What it leaves alone.** Every other variable is forwarded or dropped exactly as before (the old zero rule is unchanged in the `else` branch), and setup does not write the key into the config; a user adds it to `"env"` by hand. **How it was checked.** Not run on Intel hardware (there is none here). `bash -n` and `shellcheck` (clean, as before). A dry run of the old and the new script with a stub `docker` on `PATH` that prints the `-e` arguments: | Environment | old | new | | --- | --- | --- | | `EnableRecoverablePageFaults=0 NEOReadDebugKeys=1` | `NEOReadDebugKeys=1` + the port defaults | the same + `EnableRecoverablePageFaults=0` | | `EnableRecoverablePageFaults=1 NEOReadDebugKeys=1` | `NEOReadDebugKeys=1` + defaults | the same + `EnableRecoverablePageFaults=1` | | `EnableRecoverablePageFaults=` `IGC_X=0` `STRATA_VERIFY_NO_HOST=0` `UR_Y=a=0` `ONEAPI_DEVICE_SELECTOR=level_zero:0` | `ONEAPI_DEVICE_SELECTOR=level_zero:0 STRATA_STAGER_THREADS=12 STRATA_VERIFY_DEVICE_PLAN=1 UR_Y=a=0` | identical | A sub-agent reviewer re-ran the comparison with more variables (zeros, empties, quoted values, no environment) and checked `set -euo pipefail` behaviour: only the new key differs. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:33:44 +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#4167
No description provided.