-
Notifications
You must be signed in to change notification settings - Fork 234
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
Julia freezes when using Polynomials with CuArray #1497
Comments
See also here: JuliaMath/Polynomials.jl#399 (Need to get CUDA running to look into this.) |
Is there some NVIDIA driver for Mac OS? I don't see something amongst these: https://developer.nvidia.com/gameworksdownload#?dn=cuda-toolkit-developer-tools-for-macos-11-6-0 but maybe I'm misreading what is being said on that page. |
Works for me. But Polynomials does scalar indexing, so won't just work with GPU arrays out of the box.
No. |
Also, please try to provide more details on the freeze: What happens if you hit CTRL-C, which backtrace does it report, try attaching under |
Thanks for the reply. Is there some abstraction that allows scalar indexing with |
Typically |
Use this to backtrace gdb output:
The backtrace file is attached I hope this helps. |
Two things stand out in that backtrace:
I'd focus on fixing the stack overflow first -- who knows what it causes down the line (e.g. exhausting stack space is a good way to make any function, like the ones called in libcuda here, fail or behave erroneously). |
Closing because this looks like a Polynomials bug (see above). Feel free to re-open if there's evidence this is still a CUDA.jl bug. |
Julia freezes when it tries to create a polynomial with CuArray. (Not sure if this issue should be posted here or in Polynomials.jl git.)
Manifest.toml
Expected behavior
CUDA should create the polynomials inside the GPU, and thus use the GPU to calculate their roots using the roots function of Polynomials.jl ou FastPolynomialRoots.jl. However, it freezes when it tries to create the polynomial.
Version info
Details on Julia:
Details on CUDA:
The text was updated successfully, but these errors were encountered: