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
Parallel prange fails on higher number of iterations and is slower #6859
Comments
Thanks for reporting the issue @step135 ! I have tried it on my linux machine and I am able to trigger an error for a large input
However, when I remove the |
It was tested in Jupyter notebook on Lenovo tablet with graphics card from Intel. Anyway, I suppose that GPU acceleration is not supported in numba for Intel? Alternatively, it could cause some problems. |
So after some debugging, it seems like this is an issue due to Numba not having support for parallelism with lists. Basically as of now you can't use a list with Suggestion to numba devs: to mark this issue as a bug/feature request as you see fit and open an issue to update the docs indicating that prange is not supported with lists |
marking this as a segfault and a duplicate of #2408 |
Docs update in #6918 |
Closing as duplicate of #2408. |
It is 10 times slower and unstable than if we remove
parallel=True
.It works for small numbers, but calling
parorig(10000)
fails with "The kernel appears to have died. It will restart automatically.".The text was updated successfully, but these errors were encountered: