-
Notifications
You must be signed in to change notification settings - Fork 205
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
generalize get_iterator_value() to respect execution policy #701
Comments
I think incorporating the |
|
We shouldn't make |
|
I think we just need to figure out why the straightforward application of |
This implementation of
The idea is that |
What is the purpose of |
Huh, I also discovered the function Probably you just want to use that directly instead of |
Unless it is a raw pointers, get_value_iterator [1] will not respect execution policy when dereferenced via
*it
. A naïve replacement of*it
withmakes the reproducer in NVIDIA/thrust#780 to die with
[1] https://github.com/thrust/thrust/blob/master/thrust/detail/get_iterator_value.h#L29
The text was updated successfully, but these errors were encountered: