-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
WARNING: convert(::Type{Ptr}, ::CUDArt.CudaPtr{Float32}) methods should be converted to be methods of unsafe_convert #10437
Comments
Part of the issue seems to be that I can't seem to turn warnings off on worker processes. Even if I start julia with --depwarn=no, the workers do not inherit this. Maybe inheriting JLOptions() by children should be another issue? |
This recent change deprecates conversion to @vtjnash The following might be a problem, since it refers to a definition in Base:
|
i might want to improve the text of that message, but that conversion is an error in C too. we should probably add |
I think it might be more user-friendly for the fallbacks to be
Those are easier to reason about. Then you have the option of just defining methods for (EDIT: This was Jameson's original approach in #9986, and he later changed it.) |
The latest snapshot of Julia makes CUDArt unusable because of nonstop warnings of the type given above. The warnings are generated by ccall instructions, and I suspect something needs to be fixed with ccall?
The text was updated successfully, but these errors were encountered: