Skip to content

Require exactly OhMyThreads 0.8.7 - #74

Merged
maleadt merged 1 commit into
mainfrom
tb/omt-compat
Oct 26, 2026
Merged

maleadt merged 1 commit into
mainfrom
tb/omt-compat

Conversation

@maleadt

@maleadt maleadt commented Oct 26, 2026

Copy link
Copy Markdown
Collaborator

OhMyThreads 0.8.8 broke the Enzyme rules for run_chunks on Julia ≥ 1.12 (CallingConventionMismatchError, #71): it changed how tforeach passes its output type to Implementation._tmapreduce, one of the OhMyThreads internals the schedulers override. Since those internals can change in any 0.8 release (#30), this allows only the tested release; the bound can be widened once JuliaFolds2/OhMyThreads.jl#177 is released and tested.

Fixes #71.

OhMyThreads 0.8.8 changed how `tforeach` passes its output type to
`Implementation._tmapreduce`, one of the internals the schedulers
override, and with it the Enzyme rule for `run_chunks` throws a
`CallingConventionMismatchError` on Julia >= 1.12 (#71). Since those
internals can change in any 0.8 release (#30), allow only the release
that is tested, and widen the bound release by release.
@maleadt
maleadt merged commit 918dc58 into main Oct 26, 2026
11 of 12 checks passed
@maleadt
maleadt deleted the tb/omt-compat branch October 26, 2026 06:59
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.

Enzyme tests fail on main with 4 threads since OhMyThreads 0.8.8

1 participant