CWCUDA WEB SHADERTHREE.JS COMPUTE LAB / 0.1
INITIALIZING GPUWGSL · r186
GPU-RESIDENT COMPUTE

Same data.
Different runtime.

Real CUDA-style kernels, compiled into browser compute shaders. Three.js renders the same GPU buffers.

01CUDA sourceParsed, typed, checked.cu
02WGSL computeNative WebGPU pipelineGPU
03Three.js rendererShared float4 storage0 copies*

*No compute-to-render data copy or CPU readback. Initial state and small scalar parameters are uploaded.

PARTICLE SIMULATIONSTARTING
A compiler, not CUDA emulation.

This supports a defined CUDA C kernel subset. It does not execute CUDA binaries, cuBLAS, inline PTX, arbitrary pointers or warp-specific instructions.

SOURCE-TO-SOURCE COMPILER

Kernel workbench

Compile a bundled kernel or open your own source. GPU validation does not prove your algorithm is correct.

Not compiled
The compiler runs in a Web Worker. Unsafe or unsupported features are rejected.

The block shape must match shared-tile assumptions in your source. Use the JavaScript API to bind and launch custom kernels.

NUMERICAL CORRECTNESS

Test the actual GPU.

Independent references, empty inputs, odd sizes, tail guards, shared-memory barriers and integer atomics. Includes a rendered-pixel interop test.

passed
failed
completed
NOT RUN ON THIS DEVICE
No simulated or prefilled GPU results.

These tests cover the bundled kernels, not arbitrary edited source. Rendering pauses during the test run.

Run the official NVIDIA simpleGL kernel showcase ↗

Open measured RTX 5080 CUDA ↔ WebGPU comparison ↗

MEASURE. COMPARE. SELECT.

Find the fast path.

Sweep 64 / 128 / 256-lane scalar and float4 kernels. Compare ordinary, shared-tiled and register-tiled matrix multiplication.

Timestamp support has not been checked.
NO MEASUREMENTS YET
Compilation and initial upload are excluded.
Every variant is checked before it is timed.

Reported winners apply to this adapter and workload size. Faster than another WebGPU kernel is not proof of CUDA parity.

LIVE / CUDA-TRANSLATED PARTICLES

Orbital field01

DRAG TO ORBIT · SCROLL TO ZOOM
PARTICLES
FRAME CADENCEFPS
GPU STATEMiB
COMPUTE → RENDERGPU DIRECT