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 porting the simpleomp implementation in ncnn (https://github.com/pca006132/manifold/tree/wasm-omp), added a simple barrier implementation, but stuck with some weird memory corruption error. I am leaving this here in case anyone is interested in doing something with this.
In general, I think the performance will probably be much worse than native even if it works, because the workers cannot perform context switching (the stacks are not accessible from wasm).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I tried porting the simpleomp implementation in ncnn (https://github.com/pca006132/manifold/tree/wasm-omp), added a simple barrier implementation, but stuck with some weird memory corruption error. I am leaving this here in case anyone is interested in doing something with this.
In general, I think the performance will probably be much worse than native even if it works, because the workers cannot perform context switching (the stacks are not accessible from wasm).
Beta Was this translation helpful? Give feedback.
All reactions