Makes some CPU-only tests in test_torch generic (#27688)
Summary:
Per title. Also testing putting test_advancedindex back on the default stream.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/27688
Differential Revision: D17888351
Pulled By: mruberry
fbshipit-source-id: af8adeca89f575fc276921b39049b07135ed9776