News for hackers. Stuff that matters.
Re:M1 MacBook Air hits 900 GFlops in the browser with Safari... by skohan on Thursday March 04, 2021 @02:34AM (#26339721)
If I understood the parent comment, isn't it more about shared CPU/GPU memory? This is something different which M1 has in common with game consoles and smartphones but not traditional PC's, isn't it?
Re:M1 MacBook Air hits 900 GFlops in the browser with Safari... by MikusR on Thursday March 04, 2021 @02:49AM (#26339813)
It's exactly same thing Intel and AMD have in their CPUs with integrated GPUs
Re:M1 MacBook Air hits 900 GFlops in the browser with Safari... by eevilspock on Thursday March 04, 2021 @03:25AM (#26340032)
no it's not the same. "Shared" means different things.

In M1, the GPU reads directly from memory written by the CPU.

In Intel/AMD, the data has to be copied from the CPU's address space to the GPU's. "Shared" only means there aren't separate main and graphics memory chips/banks. But said shared memory is segregated.

Re:M1 MacBook Air hits 900 GFlops in the browser with Safari... by Toutouxc on Thursday March 04, 2021 @04:37AM (#26340441)
This document has something about Intel's UMA with zero copy buffers (not sure how relevant):

https://software.intel.com/sites/default/files/managed/db/88...

Re:M1 MacBook Air hits 900 GFlops in the browser with Safari... by gambiting on Thursday March 04, 2021 @04:49AM (#26340515)
>> But said shared memory is segregated.

Uhm, as a games developer working on consoles.....no it isn't. You can do it like this if you wish, but generally the entire address space is accessible from either CPU or GPU. Maybe it's implemented like this on PC, but at least the architecture design on X1/XBS/PS4/PS5 allows both reads and writes from any area of memory by either cpu or gpu.

Re:M1 MacBook Air hits 900 GFlops in the browser with Safari... by spockz on Thursday March 04, 2021 @05:49AM (#26340898)
On pc by default the memory for the iGPU is a dedicated segment of RAM. There are probably tricks to read from each other RAM but not integrated like Apple has done.