Download Introduction to CUDA

Transcript
Device / Global Memory
● CUDA kernels can only operate on device
memory, not host memory
○ So we need to copy over relevant data from the host
to device
● 2 general types: linear memory and CUDA
arrays
○ We will focus on linear memory for now
○ Linear memory works like normal C memory that
you're used to