You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A good option would be to use environment variables (this should be an optional feature). The environment variables could limit which architectures are available (for example, disabling AVX to allow testing of SSE or fallback versions).
The text was updated successfully, but these errors were encountered:
Runtime control over the dispatcher. Just a function that limits/enables specific instruction sets?
Compile time control over the dispatcher. Disables target_clones to build with the current feature set, and turns multiversion into a bunch of #[cfg(target_feature = foo)] that selects the first one that works with the current configuration.
It could be useful to have a macro for testing that selects specific implementations, and maybe creates copies of tests for each implementation.
Half of this task is complete with the addition of the std option--when disabled, runtime CPU feature detection is replaced with compile-time conditional compilation.
A good option would be to use environment variables (this should be an optional feature). The environment variables could limit which architectures are available (for example, disabling AVX to allow testing of SSE or fallback versions).
The text was updated successfully, but these errors were encountered: