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
The reason is the highway library isn't compiled with -msimd128.
My project is compiled with Emscripten with -msimd128 flag.
I'm using CMake and FetchContent to download source of highway, and FetchContent used add_subdirectory to integrate highway in to my build.
And the HWY_DYNAMIC_DISPATCH macro is doing great by selecting HWY_WASM target.
Current viable solution is using include instead of add_subdirectory in cmake, and add -msimd128 flag to highway manually.
Or, I'd like to discuss:
Is it possible for WASM to auto detect and enable WASM SIMD by pragma like avx targets? (without manually adding compiler flags).