(a) The original user program
(b) The kernel program translated from (a)
(c) The host program to (b)
Figure 5: Mapping variables from host memory to device memory.