-
Notifications
You must be signed in to change notification settings - Fork 329
Description
Quoting, but bold is mine:
When using a discrete GPU, it’s easy to see that most GPU memory allocations aren’t visible to the CPU because they are inside the GPU’s RAM (or VRAM for Video RAM). For integrated GPUs most memory allocations are in the same physical places, but not made visible to the GPU for various reasons (for example, the CPU and GPU can have separate caches for the same memory, so accesses are not cache-coherent). Instead, for the CPU to see the content of a GPU buffer, it must be "mapped", (...)
Is GPU or CPU there (in the bold bit)? My reading is that the GPU memory allocations wouldn't be visible to the CPU; how could it not be visible for the GPU itself, which needs to read/write the data?
Originally posted by @iampi31415 in #5164