A neural network implementation in CUDA