-
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
Segfault with CUDA in a sysimage #1314
Comments
With the precompilation script
Leads to:
in the sysimage. Which I have confirmed is returned as well when invoked from a REPL running that sysimage. Without that sysimage
So precompiling a cc: @vtjnash |
This comment was marked as duplicate.
This comment was marked as duplicate.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Workaround: take CUDA.jl out of the sysimage 😄. Also seems to work on Julia 1.6.5 (but not 1.7.1).
Cause: during sysimage creation we create broken code, according to @vchuravy who helped me try to debug a segfault on #gpu on Slack. He pointed to
CUDA.jl/lib/cudadrv/execution.jl
Line 143 in 3497077
and
and said
I don't understand most of that to be honest.
This is with CUDA#master (or v3.6.1), Julia 1.7.1, PackageCompiler v1.7.7.
Debugger session:
The text was updated successfully, but these errors were encountered: