[alpaka] Refactor prefixScan implementation - #220
Open
antoniopetre wants to merge 1 commit into
Open
Conversation
fwyzard
force-pushed
the
refactor_prefixScan
branch
2 times, most recently
from
October 12, 2021 09:49
20130b8 to
fb7bd6f
Compare
Contributor
|
Fixed conflicts and applied code formatting. |
fwyzard
force-pushed
the
refactor_prefixScan
branch
3 times, most recently
from
October 14, 2021 08:33
be2894f to
d427564
Compare
Contributor
|
Rebased and fixed conflicts. |
fwyzard
force-pushed
the
refactor_prefixScan
branch
from
October 15, 2021 12:32
d427564 to
f8a75ea
Compare
Contributor
|
Rebased and fixed conflicts. |
waredjeb
approved these changes
Oct 15, 2021
Collaborator
|
On Cori (with CUDA 11.2) I got the following failure when running I'm really puzzled what |
Collaborator
|
Here is a stack trace of the exception |
fwyzard
force-pushed
the
refactor_prefixScan
branch
from
October 20, 2021 06:57
f8a75ea to
3ba0e0d
Compare
Contributor
|
Fixed conflicts, rebased, etc. |
fwyzard
force-pushed
the
refactor_prefixScan
branch
from
October 20, 2021 07:04
3ba0e0d to
63cae86
Compare
Contributor
|
While the validation is good, now I see a small but systematic loss in performance. Before:After:So 2-3% slower. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
prefixScanalgorithm is implemented in Alpaka using two kernels, while a single kernel is used for Native CUDA.I refactored the
prefixScanimplementation in order to use a single kernel (similar with the Native CUDA implementation).