E.V.E
v2023.02.15
 
Loading...
Searching...
No Matches

◆ divisible_by_cardinal

auto eve::algo::divisible_by_cardinal = ::rbr::flag( divisible_by_cardinal_tag{} )
inlineconstexpr

#include <eve/module/algo/algo/traits.hpp>

Aligning takes precident over this: if the data accesses are going to be aligned, the tail handling comes back. You can pass eve::algo::no_aligning.

In other words only does anything if the pointer is aligned_ptr or no_aligning is passed.

Note
this trait is deduced automatically if both begin and end of the range are aligned_ptr with alignment >= cardinal. If you are using this, consider aligning your data too.
See also
inclusive_scan_par_unseq example to see how we use chunks with aligned boundaries in parallel algoirthms.
no_aligning