-
Notifications
You must be signed in to change notification settings - Fork 10
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
Improve SoA with static array extents #653
Merged
bernhardmgruber
merged 6 commits into
alpaka-group:develop
from
bernhardmgruber:soastaticoffsets
Dec 15, 2022
Merged
Improve SoA with static array extents #653
bernhardmgruber
merged 6 commits into
alpaka-group:develop
from
bernhardmgruber:soastaticoffsets
Dec 15, 2022
Conversation
This file contains 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
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #653 +/- ##
========================================
Coverage 98.75% 98.75%
========================================
Files 74 74
Lines 6818 6828 +10
========================================
+ Hits 6733 6743 +10
Misses 85 85 |
bernhardmgruber
force-pushed
the
soastaticoffsets
branch
2 times, most recently
from
December 12, 2022 18:13
d13540a
to
ae82cba
Compare
bernhardmgruber
changed the title
Precompute subarray offset table when array extents are fully static
Improve SoA with static array extents
Dec 12, 2022
bernhardmgruber
force-pushed
the
soastaticoffsets
branch
4 times, most recently
from
December 13, 2022 17:54
97902ee
to
a4b95c1
Compare
bernhardmgruber
force-pushed
the
soastaticoffsets
branch
2 times, most recently
from
December 13, 2022 23:22
aa8902d
to
88cc497
Compare
bernhardmgruber
force-pushed
the
soastaticoffsets
branch
2 times, most recently
from
December 14, 2022 11:11
c5d0774
to
e3c32eb
Compare
bernhardmgruber
force-pushed
the
soastaticoffsets
branch
from
December 14, 2022 15:42
a31a94c
to
ca64099
Compare
* Mix data types in record dimension, so padding and alignment can have an effect * Make problem size an odd number * Plot results * Test all LLAMA versions in a single run * Test a few variations of the SoA layout * Simplify alpaka use
This works around an MSVC bug.
bernhardmgruber
force-pushed
the
soastaticoffsets
branch
from
December 15, 2022 01:40
ca64099
to
1ee97e4
Compare
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.
This PR improves the SoA by precomputing a compile-time only subarray offset table when the array extents are fully static.
This PR also contains an extension of the vectoradd benchmarks:
* Mix data types in record dimension, so padding and alignment can have an effect
* Make problem size an odd number
* Plot results
* Test all LLAMA versions in a single run
* Test a few variations of the SoA layout
* Simplify alpaka use