Skip to content

Adapt inclusive_scan to C++ 20 #5439

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

Merged
merged 6 commits into from
Jul 30, 2021

Conversation

Jedi18
Copy link
Contributor

@Jedi18 Jedi18 commented Jul 8, 2021

Adapted inclusive_scan to C++ 20 and added container overloads. (range and sentinel). Added container tests. Seperated segmented overloads.

Any background context you want to provide?

Issue #4822
Issue #3646
Issue #1668
Issue #5156

Comment on lines +718 to +721
#if defined(HPX_GCC_VERSION) && HPX_GCC_VERSION >= 100000
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should move this (and the corresponding pop below) into separate include files to reduce cluttering the code (place them here, for instance: https://github.com/STEllAR-GROUP/hpx/tree/master/libs/core/config/include/hpx/config). But that's something for a separate PR.

@Jedi18 Jedi18 force-pushed the adapt_inclusive_scan branch 2 times, most recently from f6e9f1c to fc23989 Compare July 24, 2021 05:30
@Jedi18 Jedi18 force-pushed the adapt_inclusive_scan branch from fc23989 to 7346f71 Compare July 24, 2021 13:35
@jenkins-cscs
Copy link

Can one of the admins verify this patch?

Copy link
Member

@hkaiser hkaiser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@hkaiser hkaiser merged commit b2bc348 into STEllAR-GROUP:master Jul 30, 2021
@hkaiser hkaiser mentioned this pull request Jul 30, 2021
9 tasks
@msimberg msimberg modified the milestones: 1.8.0, 1.7.1 Aug 6, 2021
msimberg pushed a commit that referenced this pull request Aug 6, 2021
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.

4 participants