Skip to content
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

std::memmove copies bytes, use bytes*sizeof(type) when copying larger… #2149

Merged
merged 3 commits into from May 11, 2016

Conversation

biddisco
Copy link
Contributor

… types

All my VTKm tests started failing once I began using the latest master with the copy optimizations for trivially copyable types. I believe there is a missing sizeof that needs to be taken into consideration.

This patch fixes #2148 for me

@hkaiser
Copy link
Member

hkaiser commented May 10, 2016

LGTM, thanks!

@hkaiser hkaiser merged commit 73407c5 into master May 11, 2016
@hkaiser hkaiser deleted the fix_copy_optimized branch May 11, 2016 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

hpx::parallel::copy is broken after trivially copyable changes
2 participants