Expands TestAutogradDeviceType (#26708)
Summary:
- Ports all CUDA tests to TestAutogradDeviceType except those using multiple devices
Pull Request resolved: https://github.com/pytorch/pytorch/pull/26708
Differential Revision: D17549435
Pulled By: mruberry
fbshipit-source-id: b564186444201d1351934b6a7d21f67bdfca6e3b