Apple interview question

Design an algorithm to efficiently calculate vector dot product using CUDA.