Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
WithinReason
· 4y ago · 0 comments
In addition, once you did that (tuned your hardware to a matrix size) it can be inefficient to use smaller matrices. So even if you can make a network that uses smaller components the HW will not gain the corresponding speedup.
Comments
[–]
zasdffaa
4y ago
MatMult = the dot product, effectively. I can't believe that allowing smaller vectors is difficult or even non-trivial in hardware.
[–]
WithinReason
OP
4y ago
GPUs are a good example: SIMD means all 128 threads do the same work. If only 1 thread has work to do the other 127 threads still take up resources.
[–]
zasdffaa
4y ago
Ah, right, gotcha
[–]
svnt
4y ago
You’re assuming caches know anything about dot products.
[–]
zasdffaa
4y ago
That seems a non-sequiteur to me. Can you elaborate?