Add CUDA calculations for matrix-vector multiplication.