Updated the code to support the new feature branch of Spike::GPU