3 ms·
Browsers don't expose access to GPU compute APIs or multiple GPUs. Any web GPU usage you see right now is limited to shader programs on a single GPU.
by zamadatix 8y ago
Browsers don't expose access to GPU compute APIs or multiple GPUs. Any web GPU usage you see right now is limited to shader programs on a single GPU.
- jononor 8y agoTensorflow.js can actually use WebGL to accelerate machine learning. Have not tried it though.
- zamadatix 8y agoTensorflow.js is a example of using the fragment shaders I was talking about: "Tensors are stored as WebGL textures and mathematical operations are implemented in WebGL shaders." https://www.tensorflow.org/js/guide/platform_environment https://www.tensorflow.org/js/guide/platform_environment