Re:MNIST training: Showdown between JavaScript and WebAssembly
by seanmcdirmid on Sunday March 11, 2018 @03:03PM
(#16564270)
Is SIMD going to close that performance gap for a problem that otherwise fits well on a GPU? Wouldn't the ideal by WASM support for GPU access?
[ Parent
| on HN ]
Re:MNIST training: Showdown between JavaScript and WebAssembly
by fulafel on Sunday March 11, 2018 @03:28PM
(#16564367)
Indeed WASM supports GPU access through the normal JS WebGL API. Many asm.js/WebAssembly apps use the GPU in this way.
Though compiling WebAssembly to GPU code would be a very interesting thing to explore, too.