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
I tried to compile code from my simulation that uses _Float16 under the latest version of Emscripten, but I got this compiler error:
Particles.cpp:495:9: error: _Float16 is not supported on this target
495 | _Float16 f16test = 100.f16;
| ^
Particles.cpp:495:31: error: invalid suffix 'f16' on floating constant
495 | _Float16 f16test = 100.f16;
| ^
I can compile the same code under Windows x64 and Linux x64 with both GCC and Clang. Is _Float16 not supported at all by Emscripten, or is there a flag to enable support? (hardware support, ideally)
Thanks!
The text was updated successfully, but these errors were encountered:
There's a proposal for simd instructions for fp16 (no scalar support). There's experimental support for this in LLVM/emscripten (flag -mfp16) and V8 (flag --experimental-wasm-fp16). _Float16 is not supported, but __fp16 is.
I tried to compile code from my simulation that uses
_Float16
under the latest version of Emscripten, but I got this compiler error:I can compile the same code under Windows x64 and Linux x64 with both GCC and Clang. Is
_Float16
not supported at all by Emscripten, or is there a flag to enable support? (hardware support, ideally)Thanks!
The text was updated successfully, but these errors were encountered: