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

Lift restrictions on reductions for DPC++ #175

Merged
merged 1 commit into from
May 23, 2023

Conversation

psalz
Copy link
Member

@psalz psalz commented Apr 14, 2023

DPC++ now supports passing multiple reductions into a kernel. While it still only accepts 1-dimensional buffers (I guess the spec is simply ambiguous on this), that no longer matters to us since we now do a pointer-based reduction internally anyway.

Copy link
Contributor

@fknorr fknorr left a comment

Choose a reason for hiding this comment

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

Nice! This means we can test full reduction support in CI for the first time.

We should however keep all feature flags intact (CELERITY_FEATURE_SIMPLE_SCALAR_REDUCTIONS, CELERITY_FEATURE_SCALAR_REDUCTIONS, CELERITY_FEATURE_LOCAL_ACCESSOR) since they part of the user-facing API (both CMake variables and compile_definitions).

@psalz psalz force-pushed the lift-dpcpp-reduction-restrictions branch 2 times, most recently from fc4b91e to fb7c0ff Compare April 17, 2023 13:33
@psalz
Copy link
Member Author

psalz commented Apr 17, 2023

Done!

CMakeLists.txt Outdated Show resolved Hide resolved
@psalz psalz force-pushed the lift-dpcpp-reduction-restrictions branch from fb7c0ff to 7445ba8 Compare April 17, 2023 16:28
Copy link
Contributor

@fknorr fknorr left a comment

Choose a reason for hiding this comment

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

LGTM

@fknorr fknorr requested a review from PeterTh April 25, 2023 10:28
DPC++ now supports passing multiple reductions into a kernel. The
restriction on 1-dimensional buffers can also be lifted as we now use
pointer-based reductions internally.
@psalz psalz force-pushed the lift-dpcpp-reduction-restrictions branch from 7445ba8 to f7ce69c Compare May 23, 2023 12:28
@psalz psalz merged commit efff21b into master May 23, 2023
@psalz psalz deleted the lift-dpcpp-reduction-restrictions branch May 23, 2023 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants