What happens when a GPU reads memory

blog.doubleword.ai

82 points by ibobev 6 hours ago


xyzsparetimexyz - 2 hours ago

> Little of the detail of this path is documented by NVIDIA, at least not to the level that we’d like, so we’ll determine it by running timing experiments on the hardware itself

Or you could just use the AMD isa.

yipinwong - 4 hours ago

This is a type of article that is HN worthy and came to HN for initially because I don't even understand a third of content there. Giving me inspiration to dive deeper.

SEriously, I don't understand it (yet) lol.

empiricus - 5 hours ago

For a long time, the chip manufacturers had an inclination to simplify the hardware and rely on the software adapting and optimizing. But for decades this bid failed. Now we have the unrelenting AI capable of finetuning kernels relatively quickly. Maybe simpler hw will work this time? Note: not sure if TPU/NPU is not only simple but also too limited.

KellyCriterion - 4 hours ago

VERY good article, reminds me on:

"what every programmer should know about memory" https://github.com/Ty-Chen/Reading-List/blob/master/What%20e...

snigacookie - 4 hours ago

Can someone help me understand why I spent 5 minutes reading something that I still don't understand?

Link for the ELI5 version?

mathisfun123 - 3 hours ago

YMMV; not all GPUs work exactly like this

brcmthrowaway - 4 hours ago

Ctrl+F PCIe BAR.. nothing.