got everything to compile with nvcc!!! now just need to fix the memory issues