Fixes intel/torch-xpu-ops#2798.
Make test_numpy_cross_device_transfer accept any device. Remove hard coded cuda assets. Add @onlyOn(["xpu", "cuda"]) to enable xpu testing.
Pull Request resolved: #182935
Approved by: https://github.com/guangyey, https://github.com/Silv3S, https://github.com/ysiraichi, https://github.com/janeyx99
SOCIAL SHARE CARD GENERATOR