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

Align AoSoA sub arrays #786

Merged
merged 1 commit into from
Jan 21, 2024

Conversation

bernhardmgruber
Copy link
Member

@bernhardmgruber bernhardmgruber commented Oct 2, 2023

This was not supported before, but is necessary for correctness. AoSoA now gets the same alignment parameter as AoS.

  • Measure if there is a performance difference

@codecov
Copy link

codecov bot commented Oct 2, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (575c0ee) 98.72% compared to head (3653134) 98.73%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #786   +/-   ##
========================================
  Coverage    98.72%   98.73%           
========================================
  Files           70       70           
  Lines         6842     6896   +54     
========================================
+ Hits          6755     6809   +54     
  Misses          87       87           

The fixed-size sub arrays of AoSoA are appropriately aligned now by default. This setting is customizable.
@bernhardmgruber
Copy link
Member Author

Tested with n-body against develop, no difference.

@bernhardmgruber bernhardmgruber merged commit c7d9806 into alpaka-group:develop Jan 21, 2024
30 of 31 checks passed
@bernhardmgruber bernhardmgruber deleted the aosoa_align branch January 21, 2024 00:10
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.

None yet

1 participant