An open API service indexing awesome lists of open source software.

https://github.com/malstraem/generic-simd-numerics


https://github.com/malstraem/generic-simd-numerics

benchmarks dotnet intrinsics linear-algebra numerics simd

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

          

prototype of generic linear algebraic objects using current state of
[System.Runtime.Intrinsics](https://learn.microsoft.com/ru-ru/dotnet/api/system.runtime.intrinsics?view=net-10.0) SIMD vectors

started as try to outperform [Silk.NET](https://github.com/dotnet/Silk.NET), especially on matrix operations with `double` precision

this is primarily for in-house engine, but possibly helpful draft for https://github.com/dotnet/runtime/issues/24168

next step is hardware accelerated ways for type conversions like `Vec4` <-> `Vec4` 🚧

> [!NOTE]
check [benchmark reports](./reports) for generated asm and timings
tested and benchmarked on AMD Ryzen 9 7900X that have
`AVX512 - BITALG+VBMI2+VNNI+VPOPCNTDQ+IFMA+VBMI+F+BW+CD+DQ+VL`
`AVX2 - BMI1+BMI2+F16C+FMA+LZCNT+MOVBE`
`AVX+SSE3+SSSE3+SSE4.1+SSE4.2`