Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusing error message #91

Open
carstenbauer opened this issue Mar 18, 2024 · 0 comments
Open

Confusing error message #91

carstenbauer opened this issue Mar 18, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@carstenbauer
Copy link
Member

carstenbauer commented Mar 18, 2024

julia> tmap(sin, 1:100; scheduler=:greedy)
ERROR: Greedy scheduler isn't supported with `tmap` unless you provide an `OutputElementType` argument, since the greedy schedule requires a commutative reducing operator.
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:35
 [2] tmap(::Function, ::UnitRange{Int64}; scheduler::Symbol, kwargs::@Kwargs{chunking::Bool})
   @ OhMyThreads.Implementation ~/repos/OhMyThreads.jl/src/implementation.jl:339
 [3] top-level scope
   @ REPL[9]:1

As a user, I never asked for a reduction.

@carstenbauer carstenbauer added the good first issue Good for newcomers label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant