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

Improve BitPackedIntSoA #671

Merged
merged 6 commits into from
Jan 13, 2023

Conversation

bernhardmgruber
Copy link
Member

@bernhardmgruber bernhardmgruber commented Jan 11, 2023

  • Fix a mask generation: If the packed bit count is the same as the bit count of the storage integral, the code invoked UB during shifts.
  • Further hardening of the packing/unpacking code.
  • Fix UB in llama::Array reported by UBSan.

If the packed bit count is the same as the bit count of the storage integral, the code invoked UB during shifts.
@bernhardmgruber bernhardmgruber changed the title Fix mask generation in BitPackedIntSoA Improve BitPackedIntSoA Jan 11, 2023
@codecov
Copy link

codecov bot commented Jan 11, 2023

Codecov Report

Merging #671 (e22aaa8) into develop (7ccc18b) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #671   +/-   ##
========================================
  Coverage    98.75%   98.76%           
========================================
  Files           74       74           
  Lines         6808     6861   +53     
========================================
+ Hits          6723     6776   +53     
  Misses          85       85           

@bernhardmgruber bernhardmgruber force-pushed the fix_int_pack branch 2 times, most recently from 4b57cd2 to 5466155 Compare January 12, 2023 12:52
@bernhardmgruber bernhardmgruber merged commit abaefcb into alpaka-group:develop Jan 13, 2023
@bernhardmgruber bernhardmgruber deleted the fix_int_pack branch January 13, 2023 14:16
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