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

[SYCLomatic] Fixing dpct::device_vector usage in copy_if test #240

Conversation

danhoeflinger
Copy link
Contributor

Device vector was used in a way which reached into the underlying pointers and used queue.memcpy() rather than using its implicit host/device copy functionality. For USM this worked, but for the buffer variety this caused a segfault.

This PR changes the usage pattern to match onedpl_test_vector.cpp, and resolves the crash.

This seems to have been a known runtime failure, as there was a comment describing this, which I have removed.

@danhoeflinger
Copy link
Contributor Author

Closing this in favor of #243, which includes these changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant