|
|
|
|
|
by dyaroshev
526 days ago
|
|
Our answer to this - is dynamic dispatch.
If you want to have multiple version of the same kernel compiled - compile multiple dlls. The big problem here is: ODR violations.
We really didn't want to do the xsimd thing of forcing the user to pass an arch everywhere. Also that kinda defeats the purpose of "simd portability" - any code with avx2 can't work for an arm platform. eve just works everywhere. Example: https://godbolt.org/z/bEGd7Tnb3 |
|