CUDA Global Memory
Global Memory and device memory are used interchangeably.
CUDA Global Variable
CUDA Global variables are stored in CUDA Global Memory. See CUDA Memory for diagram.
A variable whose declaration is preceded only by the keyword __device__
is a global variable and will be placed in the global memory.
Accesses to a global variable are slow.
How is global memory implemented?
The global memory of a CUDA device is implemented with DRAMs.