Sneak-Scope t1_j6nptjl wrote
Reply to comment by psycotica0 in ELI5: Why do computers need GPUs (integrated or external)? What information is the CPU sending to the GPU that it can't just send to a display? by WeirdGamerAidan
I guess so, though I think it's being used wrong in that context. In the context of CPU/GPU, 'task switching' describes the hardware's ability to park a thread and start a different one executing.
In the case of the CPU, it has to dump cache to main memory, load new information and continue. Where the GPU, usually, is just like 'lol pause play!'
TheSkiGeek t1_j6p44cp wrote
That’s because GPUs don’t really cache anything, they’re running a program that streams data from one part of VRAM, transforms it, and writes it back to another part of VRAM.
If the OS wants to change what the CPU is doing it just jumps it to another block of code in RAM. Programs can spin up their own threads in real time. With a GPU there’s a whole process that has to be gone through to load or unload shaders, map and allocate VRAM, etc. — it’s much less flexible, and the latency of swapping from one kind of calculation to another is much higher.
Viewing a single comment thread. View all comments