-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HelloWasm app is busted #8368
Comments
This threaded version works for me on linux chrome, but freezes on os x chrome: https://halide-lang.org/wasm_demo/index.html?simd&threads It used to work on both. |
I'm sure that was compiled with an older version of EMSDK, too. |
Hmm, it works perfectly on my Mac using Chrome using today's EMCC and the wasm experimental features enabled in Chrome. What specific cmake configure command did you use? I did
|
What's with the |
FYI, I have |
(I built with today's EMCC, btw... maybe there was a temporary buggy version?) |
The HelloWasm app isn't working right.
The build itself is broken and only happens to work. The
core.cpp
file uses the headers from a Halide filter library that it doesn't depend on. This can be observed by runningcmake --build build --target wasm
.Then, the threaded versions don't work in-browser. Running Chrome with the following two flags enabled:
shows an error in the generated emscripten code along the lines of
TypeError: wait.value.then is not a function
.Emscripten error
This is using the latest EMSDK, cloned from upstream as of this morning.
The text was updated successfully, but these errors were encountered: