I’m glad we browser vendors had good sense to resist WebCL. What a debacle that would have been…
With the caveat there are some issues around UB (IIRC) that will need to be addressed in SPIR-V to make a Web-SPIR-V. If they can’t be addressed then we might need something new.
-
-
-
jgilbert and kvark on our side have thought about this a lot more deeply than I have and I’ll defer to them :)
- 10 more replies
New conversation -
-
-
Although now that I think about it, maybe using wasm as the IR (extended with intrinsics for GPU stuff) might not be a crazy idea?
-
New conversation -
-
-
We did study the source of UB in SPIR-V for WebGPU and there aren't many, see for example https://github.com/gpuweb/gpuweb/issues/34 … and have an execution environment for SPIR-V in WebGPU that can be found at https://github.com/gpuweb/spirv-execution-env/blob/master/execution-env.md … that adds necessary constraints for the Web.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
