Skip to content

Compute

The compute subsystem provides WebGPU compute workflows, ndarray abstractions, pipeline helpers, async readback utilities, and built-in kernels for copy, reductions, arg-reductions, scan, histogram, compact, radix sort, scaling, and batched LU factorization and solve.

In This Section

  • Compute pipeline creation and dispatch
  • CPU/GPU ndarray lifecycle and residency
  • Storage/uniform buffer management
  • Built-in compute kernels, including batched LU factorization and solve
  • Async readback and result extraction

Overview Video

The video below was AI-generated by Google NotebookLM based on the WasmGPU codebase and then double-checked by its developer.

Suggested Starting Points

Use the sidebar to navigate the full compute API surface.