Remove cudaSetDevice(1)

So it works when there is only one GPU