Skip to content

Feat: N-15 min/max reductions; fork, signal, shutdown tests (#277) - #293

Merged
b-re-w merged 2 commits into
developfrom
feat/tp-par-minmax
Oct 25, 2026
Merged

b-re-w merged 2 commits into
developfrom
feat/tp-par-minmax

Conversation

@b-re-w

@b-re-w b-re-w commented Oct 25, 2026

Copy link
Copy Markdown
Member

if e < acc: acc = e (and >, mirrored forms) over parallel loops: chunk folds with the same strict comparison, combined in chunk order (earlier on the left), so ties and +-0.0 keep the first element; any NaN (element, e result, or initial acc) discards the region and reruns sequentially (counterexample [1] | [nan, 0] tested). <= / >= stay sequential. min()/max() calls are generic object calls and stay sequential. Adds fork, signal (handler only on the main thread, after the region) and shutdown tests. Benchmarks' compiled set unchanged.

Part of #277

@b-re-w
b-re-w merged commit 7f122e2 into develop Oct 25, 2026
@b-re-w
b-re-w deleted the feat/tp-par-minmax branch October 25, 2026 07:26
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