GPU Memory Model Overview
Color Buffer
Front left
Front right
Back left
Back right
Depth Buffer
Stencil Buffer
Accumulation Buffer
At any program point Allocate/free local or global memory
Random memory access
Registers
Read/write
Local memory
Read/write to stack
Global memory
Read/write to heap
Disk
Read/write to disk
Much more restricted memory access
Allocate/free memory only before computation
Limited memory access during computation (kernel)
Registers
Read/write
Local memory
Read/write
Shared Memory
Only available in GPGPU not Graphics pipeline
Global memory
Read-only during computation
Write-only at end of computation (pre-computed address)
Read/write in GPGPU world only
Virtual Memory
Does not exist
Disk access
Does not exist
Vertex buffer
Frame buffer
Texture