-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
aligned_accessor example: improvements
1. Remove unused parameter of valid_byte_alignment 2. Make valid_byte_alignment use C++20 function has_single_bit if available 3. Make aligned_pointer_t use valid_byte_alignment to check alignment at compile time. valid_byte_alignment was unused before. 4. Remove unnecessary parameter from add_aligned_raw_1d. 5. Remove unneeded casts and assignments.
- Loading branch information
Showing
1 changed file
with
33 additions
and
13 deletions.
There are no files selected for viewing
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