-
Notifications
You must be signed in to change notification settings - Fork 10
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
inference failure #166
Comments
In principle, I can add type assertion to make the downstream code type-stable (even though we'd use dynamic dispatch internally). But there's a subtle difficulty due to that |
Since these functions are different functions, I think having a method that takes in the output type as an argument would be a nice stop-gap solution right now for when we know the output type. |
Friendly bump: as far as I can see the approach outlined in tkf/InferableTasks.jl should work, is there a chance of integrating that? |
I've stumbled upon the same issue with |
My understanding is that the development of the JuliaFolds eco-system is frozen for now since tkf has discontinued their involvement in this project. Development now continues under https://github.com/JuliaFolds2 which also hosts a fork of ThreadsX. I am not sure to which extend that is still being developed over there though. That said, I suspect that the new OhMyThreads.jl may fix these issues. It shares a very similar high-level interface. Check out: |
Many thanks for the tip, OhMyThreads seems to do the job! :) |
I am not sure if this is to be expected, or reflects and underlying issue with Julia, and if there are any workarounds.
The text was updated successfully, but these errors were encountered: