Use handle pool to manage cuparse handles (#29426)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/29352
The newly added test fails consistently with illegal memory access without this PR, and now it succeeds consistently.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/29426
Differential Revision: D18407784
Pulled By: ngimel
fbshipit-source-id: 6cabb9a6674c25f7d7a3dc7b3bac99002018d8ee