Navigation Menu

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

Adding iterator_facade and iterator_adaptor #2249

Merged
merged 5 commits into from Jul 22, 2016
Merged

Adding iterator_facade and iterator_adaptor #2249

merged 5 commits into from Jul 22, 2016

Conversation

hkaiser
Copy link
Member

@hkaiser hkaiser commented Jul 12, 2016

This PR adds hpx::util::iterator_facade and hpx::util::iterator_adaptor. The goal is to replace the corresponding Boost facilities over time.

This change is necessary as various iterators built on top of those are needed for the HPX.Compute implementation which requires to mark up the functions as HPX_HOST_DEVICE.

- adding tests for iterator_facade (from Boost)
- adding tests for zip_iterator and transform_iterator (from Boost)
- fixing problems in zip_iterator and transform_iterator to make tests pass
- consolidate all iterator tests in separate directory
# Conflicts:
#	hpx/util/zip_iterator.hpp
- Mark up remaining functions with HPX_HOST_DEVICE
- adding iterator_adaptor test (adapted from Boost)
- consolidated iterator test facilities
- adding missing operators to iterator_facade
@sithhell
Copy link
Member

LGTM!

@hkaiser hkaiser merged commit d7f95aa into master Jul 22, 2016
@hkaiser hkaiser deleted the iterators branch July 22, 2016 13:57
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.

None yet

2 participants