MathSharp
MathSharp copied to clipboard
[PROPOSAL] Make all operations use 128 bit wide vectors and create a new API for 256 bit wide vectors.
Currently doubles use 256 wide vectors for vectorized math which can cause downclocking on most modern CPUs, there's also no way to use 256 bit wide vectors for float math.
I think adding a new static class named something like HeavyVector
which would mirror the Vector
class but that uses AVX instructions with fallbacks to SSE and software would allow users to decide for themselves if downclocking is worth it for their use case.
Hmmm