Repository navigation
Allow 32-bit Linux tests to limit PoCL workers - #153
Merged
Merged
Conversation
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)
Member
Author
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 Links
🤖 Posted by an AI agent — harness: Codex Desktop 0.171.0-alpha.13.2 · model: gpt-6.2-astra |
ChrisRackauckas
marked this pull request as ready for review
November 28, 2026 13:26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add
linux-x86-pocl-workersto 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 andPOCL_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.jlsuite 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 andtypospassed.The GitHub workflow parser accepted the paired definitions and the existing caller against the new grouped workflow. The current floating
v1rejects 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
Hosted workflow verification — https://github.com/SciML/.github/actions/runs/46148916434
Failing Surrogates test job — https://github.com/SciML/Surrogates.jl/actions/runs/46117042164/job/140893142974
PoCL worker-count implementation — https://github.com/pocl/pocl/blob/0a8861d1b989a926dcdf506aeed69d0de2394274/lib/CL/devices/common_utils.c#L546-L560
Shared workflow release procedure — https://github.com/SciML/.github/blob/master/RELEASING.md
🤖 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)