3 ms·
Do Apple's chips (M1 etc) change this at all, since they share memory with the GPU?
by moldavi 2y ago
Do Apple's chips (M1 etc) change this at all, since they share memory with the GPU?
- bob1029 2y agoI think an argument could be made depending on the real world timings. How much closer in time is the Apple GPU vs one on a PCIe bus?
- one_even_prime 2y agoApple chips share the same physical memory between the GPU and the CPU. Still, they don't have USM/UVM (Unified Shared Memory/Unified Virtual Memory), that is, the GPU and the CPU can't access the same data concurrently and easily. Programs must map/unmap pages to control which device accesses it, and that's a very expensive operation.
- tubs 2y agoThey don't need to be unmapped just for the other one to use it. source: I wrote GPU drivers for over 10 years.
- Earw0rm 2y agoNot much. Synchronisation of tasks is still a big overhead. If you've got tens to hundreds of microseconds worth of workload, sure, get the GPU to do it. But bear in mind 1000 clocks at 4GHz is 250ns, there's still a sizeable region where tight CPU/GPU integration isn't tight enough.