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

Adapt simd adj diff #5580

Merged
merged 9 commits into from
Oct 12, 2021
Merged

Conversation

srinivasyadav18
Copy link
Contributor

@srinivasyadav18 srinivasyadav18 commented Sep 25, 2021

Contributes to fixing #2333

Proposed Changes

  • Moves sequential implementation of adjacent_difference to detail which enables overload for simd policy.
  • Adds new header in datapar for adjacent difference algorithm.
  • Splits the existing adjacent_difference into header and source files and merges exception and bad alloc tests into one.
  • Adds adjacent difference datapar unit test.

srinivasyadav18 added 6 commits September 25, 2021 17:51
Moves sequential implementation of adjacent_difference to detail which enables overload for simd policy.
Replaces use of std minus with generic lambda which enables minus operations with data parallel types.
Adds new header in datapar for adjacent difference algorithm.
Adds the new header in CMakeLists.txt and datapar.hpp.
Splits the existing adjacent_difference into header and source files.
Merges execption and bad alloc tests into one header and source.
Adds adjacent difference datapar unit test source file.
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.

@kmoham6 is working on other parts of adjacent_difference (#5564), could you please coordinate with her?

aurianer
aurianer previously approved these changes Sep 28, 2021
Copy link
Contributor

@aurianer aurianer 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!

@msimberg
Copy link
Contributor

msimberg commented Oct 5, 2021

@srinivasyadav18 could you have a look at these please: https://cdash.cscs.ch/viewBuildError.php?buildid=185806. That's GCC 11 with C++20, if it makes a difference (I think it has more tests enabled because of that).

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 2098a4a into STEllAR-GROUP:master Oct 12, 2021
This was referenced Oct 12, 2021
This was referenced Oct 13, 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