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

Extend parallel algorithms to work with hpx::partitioned_vector et.al. #1338

Open
16 of 36 tasks
hkaiser opened this issue Dec 25, 2014 · 10 comments
Open
16 of 36 tasks

Extend parallel algorithms to work with hpx::partitioned_vector et.al. #1338

hkaiser opened this issue Dec 25, 2014 · 10 comments

Comments

@hkaiser
Copy link
Member

hkaiser commented Dec 25, 2014

The existing parallel algorithms should be extended to seamlessly work with distributed data structures like hpx::partitioned_vector. Unfortunately this requires additional code for each specific algorithms.

For more information about the parallel algorithms already implemented see #1141.

Here is the list of algorithms mandated by N4310 which should be ported to the distributed case:

These were added by N4310:

@taeguk
Copy link
Member

taeguk commented Mar 28, 2017

@hkaiser exclusive_scan and inclusive_scan is not checked although these are already implemented.

@hkaiser
Copy link
Member Author

hkaiser commented Mar 28, 2017

@taeguk right, thanks for the heads-up. Should be fine now.

@hkaiser hkaiser changed the title Extend parallel algorithms to work with hpx::vector et.al. Extend parallel algorithms to work with hpx::partitioned_vector et.al. Mar 28, 2017
@taeguk
Copy link
Member

taeguk commented Mar 28, 2017

@hkaiser It seems that there are only two distributed data structures. (hpx::partitioned_vector and hpx::unordered_map). Is it right?

@hkaiser
Copy link
Member Author

hkaiser commented Mar 28, 2017

@hkaiser It seems that there are only two distributed data structures. ( hpx::partitioned_vector and hpx::unordered_map ). Is it right?

Yes. hpx::unordered_map has no iterators implemented yet, however.

@mcopik
Copy link
Contributor

mcopik commented Mar 31, 2017

@hkaiser According to the issue progress tracker, transform_*_scan have been added with PR #2287 but it looks that only regular scans have been added there. I don't see transform scans in hpx/parallel/segmented_algorithms.

@hkaiser
Copy link
Member Author

hkaiser commented Mar 31, 2017

@mcopik Thanks, I fixed the list above.

@brjsp
Copy link
Contributor

brjsp commented Apr 2, 2018

Actually, copy_n already seems to work: brjsp@694c725

@hkaiser hkaiser added the tag: pinned Never close as stale label Jun 30, 2019
@tapaswenipathak
Copy link
Contributor

tapaswenipathak commented Sep 4, 2019

Hi @hkaiser: Is the task list is most recent? Can I PR or is the ticket for internal folks?

@hkaiser
Copy link
Member Author

hkaiser commented Sep 4, 2019

@tapaswenipathak I think the list above reflects the current state. Please feel free to work on this! Also, please don't hesitate to ask, though - this might be slightly more complex than the average 'run of the mill' ticket. The iterative, non-modifying algorithms (equal, mismatch) might be a good starting point.

@tapaswenipathak
Copy link
Contributor

tapaswenipathak commented Sep 4, 2019

oh lol, ok. sure. thanks for specifying. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Standard Algorithms
  
Open Tickets
Development

No branches or pull requests

6 participants