If we have code running on other nVidia GPUs, would it run automatically?

If we have code running on other nVidia GPUs, would it run automatically?