CUDA implementation of paragraph vector algorithm