AMD interview question

How do you create a CUDA kernel for vector addition?