⚡ WebGPU Sorting

High-performance GPU sorting with Bitonic Sort & Radix Sort

🎛️ Configuration

Ready

ℹ️ About

This demo showcases GPU-accelerated sorting using WebGPU compute shaders. Bitonic Sort uses a comparison-based parallel sorting network with O(n log²n) complexity. Radix Sort uses a non-comparison approach with parallel histogram and prefix sum operations, achieving O(n×k) complexity.

WebGPU WGSL Compute Shaders workgroupBarrier() Shared Memory Parallel Reduction

🔗 Resources

WebGPU SpecWGSL SpecBitonic SortRadix Sort