Skip to content

Adapt inclusive_scan to C++ 20#5439

Merged
hkaiser merged 6 commits into
TheHPXProject:masterfrom
Jedi18:adapt_inclusive_scan
Jul 30, 2021
Merged

Adapt inclusive_scan to C++ 20#5439
hkaiser merged 6 commits into
TheHPXProject:masterfrom
Jedi18:adapt_inclusive_scan

Conversation

@Jedi18
Copy link
Copy Markdown
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
Copy Markdown
Contributor

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.

Comment thread libs/parallelism/algorithms/include/hpx/parallel/algorithms/inclusive_scan.hpp Outdated
@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
Copy Markdown

Can one of the admins verify this patch?

Copy link
Copy Markdown
Contributor

@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 TheHPXProject: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