Computes the inner product of two vectors. Compares runtime from CUDA and Thrust implementations.