GPU implementation using Nvidia CUDA framework.