Lets an algorithm use the widest registers, despite frequency scaling.
Variables | |
| constexpr auto | eve::algo::allow_frequency_scaling = ::rbr::flag( allow_frequency_scaling_tag{} ) |
|
inlineconstexpr |
#include <eve/module/algo.hpp>Allows the algorithm to use the widest registers of the target. By default the cardinal stays clear of 512 bit registers, because some Intel cores lower their clock while AVX-512 instructions run and for a while after, which slows the scalar code that follows. With this trait the algorithm takes the full width, which is worth it on a long range only. The Frequency Scaling. tutorial measures the effect.