Hacker News new | ask | show | jobs
by buildbot 14 days ago
> matrix operations work when you are doing SIMD

SIMD is for vector OPs, which you can use to compute matrices, but typically modern GPUs use specialized matmul cores - I.E tensor cores - that are another order of magnitude faster in terms of FLOPs.

1 comments

Right, but most ANN ops aren't inherently matrix multiplications - that's just an efficient way of batching up a bunch of vector dot products - so single instruction, multiple data. What makes matmul viable for use here is because you want to do the same operation in parallel multiple times.