| ▲ | fulafel 2 days ago | |||||||||||||||||||||||||||||||||||||||||||||||||
> Apple Silicon changes the physics. The CPU and GPU share the same physical memory (Apple's Unified Memory Architecture) ... no bus! Beware the reality distortion field: This is of course how it's worked on most x86 machines for a long time. And also on most Macs when they were using Intel chips. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | littlecranky67 2 days ago | parent | next [-] | |||||||||||||||||||||||||||||||||||||||||||||||||
Why did all my x86 onboard iGPU reserve a fixed amount of RAM on boot, inaccessible to the OS? Why do dGPU bring their own VRAM and how to directly manipulate it from the CPU without copying? | ||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | agambrahma a day ago | parent | prev [-] | |||||||||||||||||||||||||||||||||||||||||||||||||
Agree, maybe "changes the physics" was too strong, shared cpu/gpu memory is not new. What is different then is the combination of 1. UMA memory (and yes, iGPU had this, pre-M1) 2. enough bandwidth / GPU throughput for local inference 3. straightforward `makeBuffer(bytesNoCopy:)` path So, the novelty isn't the shared memory itself, but the whole chain lining up to make the Wasm linear memory -> Metal-buffer approach practical + performant enough. (and not saying there's some Apple Silicon magic here either ... it'd work anywhere there was UMA and no-copy host-pointer path) | ||||||||||||||||||||||||||||||||||||||||||||||||||