Skip to content

Memory Usage in Kernel

Kilik Kuo edited this page Mar 4, 2017 · 13 revisions

This page shares findings or problems we've encountered.

Local memory :

  • On CPU device, local memory is a regular RAM - same as global memory.
  • On GPU device, very fast on-chip controllable cache. TBD

When is local memory used ?

TBD

Example

TBD


Private memory :

TBD

When is private memory used ?

  • Used when a). register spilling [1] happens 2). private array is used. TBD

Example

TBD

[1] https://en.wikipedia.org/wiki/Register_allocation#Spilling

Clone this wiki locally