Skip to content

Conversation

@maleadt
Copy link
Member

@maleadt maleadt commented Jul 29, 2017

The other part of #22022 (SROA + addrspace) is harder to test in plain Julia, but I've added a test in CUDAnative.

@maleadt maleadt added backport pending 0.6 test This change adds or pertains to unit tests labels Jul 29, 2017
test/codegen.jl Outdated
function issue22582!(a::AbstractArray, b)
len = length(a)
if b
ccall(:jl_array_grow_end, Void, (Any, UInt64), a, 1)
Copy link
Contributor

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?

Copy link
Member Author

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.

@maleadt
Copy link
Member Author

maleadt commented Jul 31, 2017

Failure is unrelated (InterruptException in file tests). Will merge unless there's other comments.

@JeffBezanson JeffBezanson merged commit f210687 into master Jul 31, 2017
@JeffBezanson JeffBezanson deleted the tb/test_22582 branch July 31, 2017 19:30
ararslan pushed a commit that referenced this pull request Sep 11, 2017
Add a test for #22582/#22022.

Ref #23021
(cherry picked from commit f210687)
ararslan pushed a commit that referenced this pull request Sep 13, 2017
Ref #23021
(cherry picked from commit e55b1db)
vtjnash pushed a commit that referenced this pull request Sep 14, 2017
Ref #23021
(cherry picked from commit e55b1db)
ararslan pushed a commit that referenced this pull request Sep 15, 2017
Ref #23021
(cherry picked from commit e55b1db)
ararslan pushed a commit that referenced this pull request Sep 16, 2017
Ref #23021
(cherry picked from commit e55b1db)
ararslan pushed a commit that referenced this pull request Sep 18, 2017
Ref #23021
(cherry picked from commit e55b1db)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test This change adds or pertains to unit tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants