Skip to content

Commit

Permalink
unsafe_wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
AStupidBear committed Jun 9, 2020
1 parent 13cba53 commit 4da4b0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elemental.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function copy_local_symm!(x, xd::Elemental.DistMatrix)
for i in is, j in 1:size(x, 2)
Elemental.queuePull(xd, i, j)
end
Elemental.processPullQueue(xd, xl)
Elemental.processPullQueue(xd, unsafe_wrap(Array, pointer(xl), size(xl)))
counts = MPI.Allgather(Cint(length(xl)), MPI.COMM_WORLD)
MPI.Allgatherv!(vec(x), counts, MPI.COMM_WORLD)
return x
Expand Down

2 comments on commit 4da4b0b

@AStupidBear
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/16097

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.12 -m "<description of version>" 4da4b0b970e770baa745f9389209cb0e30287300
git push origin v0.1.12

Please sign in to comment.