Test torch.svd using complex float and double numbers (take 2) (#45795)
Summary:
Adds support for magmaSvd for complex numbers
Fixes use-after-free error in `apply_symeig`
Pull Request resolved: https://github.com/pytorch/pytorch/pull/45795
Reviewed By: ezyang
Differential Revision: D24096955
Pulled By: malfet
fbshipit-source-id: 0d8d8492f89fe722bbd5aed3528f244245b496d0