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.
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.