-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Add a test for #22582/#22022. #23021
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
Conversation
test/codegen.jl
Outdated
| function issue22582!(a::AbstractArray, b) | ||
| len = length(a) | ||
| if b | ||
| ccall(:jl_array_grow_end, Void, (Any, UInt64), a, 1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this the right signature even on 32 bit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call, copied it blindly, should be Csize_t.
|
Failure is unrelated ( |
The other part of #22022 (SROA + addrspace) is harder to test in plain Julia, but I've added a test in CUDAnative.