About Writing

2.1 Data Parallelism

RGB to Grayscale Conversion

2.2 CUDA C Program Structure

Host and Device in CUDA

A vector addition kernel

2.4 Device Global Memory and Data Transfer

2.5 Kernel Functions and Threading

Grids and Threads in CUDA

2.6 Calling Kernel Functions

2.7 Compilation