WebGL2-compute based NxN matrix multiplication C = A x B
Naive shader v.1 benchmark.
Fixed random A, B 1024x1024 buffers are used for calculations,
therefore You can set new N value (up to N=1024, multiple of TS).
Shaders with tile sizes (local_size_x,y) TS = 8, 16, 32
are precompiled. it - number of iterations.
FLOPS = 2 N3it / time.
Random CGPU and CGPU - CCPU are shown.
calculating
N=
TS=
it=
Intel i3-8100 33.4 GFLOPS (N=1024, TS=32).
I re-run all programs many times (press "Run" button)
and try to choose "representative" values. Results differ very much on different GPUs.