changes to get cuda version to compile and run, cuda currently not compiling and running in this version