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

Support proxy references in RecordRef tuple interface #572

Merged
merged 4 commits into from
Sep 14, 2022

Conversation

bernhardmgruber
Copy link
Member

@bernhardmgruber bernhardmgruber commented Sep 13, 2022

The tuple interface of RecordRef allows to convert between a RecordRef and a user-defined struct implementing the tuple interface. This did not work though if the RecordRef used a mapping using proxy references. This PR fixes this shortcoming.

On the side, the constructor of BitPackedIntSoA has been improved to detect uninitialized bit sizes. This uncovered some errors in the unit tests, which were fixed as well.

@codecov
Copy link

codecov bot commented Sep 14, 2022

Codecov Report

Merging #572 (86a2e92) into develop (e437fe7) will increase coverage by 0.06%.
The diff coverage is 100.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #572      +/-   ##
===========================================
+ Coverage    98.91%   98.97%   +0.06%     
===========================================
  Files           64       64              
  Lines         6068     6136      +68     
===========================================
+ Hits          6002     6073      +71     
+ Misses          66       63       -3     

This should improve readability and make the return type more clearly visible.
@bernhardmgruber bernhardmgruber merged commit 1158bc2 into alpaka-group:develop Sep 14, 2022
@bernhardmgruber bernhardmgruber deleted the proxytuiple branch September 14, 2022 13:03
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.

1 participant