3 ms·
You could offload to WebGL/WebGPU for that.
by pjmlp 2y ago
You could offload to WebGL/WebGPU for that.
- coffeeindex 2y agoOr you could use Wasm
- pjmlp 2y agoWASM is slower, and the toolchain sucks for most languages.
- adwn 2y ago> WASM is slower […] Without more details on their exact use case, their algorithms, and their data movement patterns, you have no way of knowing this. Doing stuff on the GPU isn't automatically faster than doing it on the CPU.
- eviks 2y agoWhy does "most" matter in this case wnen you just need 1 that suits your needs?
- wtetzner 2y agoSure, but that's much more complex to implement, and comes with its own overhead.
- macguillicuddy 2y agoWe do for some elements of our pipeline. WebGPU will give us more opporunity for this in the future too but right now we need broader device support unfortunately.