Writing massively parallel code for NVIDIA graphics cards (GPUs) with CUDA