WebGPU for Machine Learning

Matrix Multiplication (MatMul) Example

This example computes the product of two matrices entirely on the GPU using a compute shader.

Input Matrix A (2x3)



		

Input Matrix B (3x2)



		

Result Matrix C (2x2) - Computed by GPU

Computing...

WebGPU Not Available

Your browser does not support WebGPU. Please use a recent version of Chrome, Edge, or another compatible browser.