Skip to content

Allow 32-bit Linux tests to limit PoCL workers - #153

Merged
ChrisRackauckas merged 1 commit into
masterfrom
ci/linux-x86-pocl-workers
Nov 28, 2026
Merged

ChrisRackauckas merged 1 commit into
masterfrom
ci/linux-x86-pocl-workers

Conversation

@ChrisRackauckas

@ChrisRackauckas ChrisRackauckas commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

🚧 UNREVIEWED — awaiting review by @ChrisRackauckas. Filed by an AI agent running as @ChrisRackauckas; Chris has not seen this.
Harness: Codex Desktop 0.171.0-alpha.13.2 · Model: gpt-6.2-astra
Conversation: local session 01a21e73-ebbf-7f80-9b25-d5646b56b858 (no session URL)

Add linux-x86-pocl-workers to the grouped and individual test workflows. Surrogates' 32-bit Core job aborted while Flux precompiled BatchNorm and PoCL started its pthread pool. A caller can now request a positive limit for 32-bit Linux Julia before Julia starts. Explicit PoCL or KernelAbstractions settings take precedence. The input defaults to zero.

Reproduction and verification

On native Linux i686, the registered driver printed PTHREAD ERROR in pthread_scheduler_init():310: Resource temporarily unavailable (11) under a 24-PID limit. I observed the same abort with the two package-level backend fixes. With those fixes and POCL_CPU_MAX_CU_COUNT=2, CPU BatchNorm and its three analytical gradients passed, 4/4. I separately reproduced the abort with a 512-PID limit and a 128 MiB free virtual-address window. Setting the single variable to 1 or 2 allowed device discovery in that window, and OpenCL reported exactly 1 or 2 compute units. The hosted job logged the same pthread error. Its logs do not distinguish PID exhaustion from address-space pressure.

On Julia 1.13.4, the new workflow regression reported four failures on the base and passed 15/15 checks after the change. The complete test/runtests.jl suite passed 139/139. All nine Python tests passed. The GitHub expression evaluator and the workflow's Bash step passed 22 routing and environment checks, including existing overrides, invalid limits and other architectures. actionlint, ShellCheck, pyflakes, Runic and typos passed.

The GitHub workflow parser accepted the paired definitions and the existing caller against the new grouped workflow. The current floating v1 rejects callers that name the new input. Surrogates can enable it when both definitions are available on that tag.

The implementation and workflow tests were produced in Codex Desktop 0.171.0-alpha.13.2 with gpt-6.2-astra, local session 01a221a7-f462-77d3-8890-7a273495c6c2 (no session URL). This draft awaits review by @ChrisRackauckas.

On this draft, the GitHub Actions run passed all three jobs, including actionlint with ShellCheck and both test suites.

Links


🤖 Posted by an AI agent — harness: Codex Desktop 0.171.0-alpha.13.2 · model: gpt-6.2-astra
Conversation: local session 01a21e73-ebbf-7f80-9b25-d5646b56b858 (no session URL)

Expose the limit to grouped tests and set it before Julia starts. Honor
existing PoCL and KernelAbstractions worker settings in the runner.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Codex <noreply@openai.com>
Agent-Harness: Codex Desktop 0.171.0-alpha.13.2
Agent-Model: gpt-6.2-astra
Agent-Session: local session 01a221a7-f462-77d3-8890-7a273495c6c2 (no session URL)
@ChrisRackauckas

Copy link
Copy Markdown
Member Author

🤖 Automated comment from an AI agent running as @ChrisRackauckas — not written or reviewed by Chris.

The implementation worker ran the full shared workflow suite and checked both caller-to-workflow boundaries on this commit. The suite passed 139 Julia assertions and nine Python tests. The Linux x86 path passed 22 expression and environment cases. The released v1 rejects this input today, so the separate Surrogates caller is waiting for both shared definitions to reach that ref.

Links


🤖 Posted by an AI agent — harness: Codex Desktop 0.171.0-alpha.13.2 · model: gpt-6.2-astra
Conversation: local session 01a21e73-ebbf-7f80-9b25-d5646b56b858 (no session URL)

@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review November 28, 2026 13:26
@ChrisRackauckas
ChrisRackauckas merged commit 4ececcd into master Nov 28, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant