Prog model

Describe why this works. How does one write to constant memory?