[ROCm] Enable deterministic rocBLAS mode (#48654)
Summary:
The PR adds a feature to disable atomics in rocblas calls thereby making the output deterministic when it is expected in pyTorch. This mode of rocBLAS can be exercised using the global setting `torch.set_deterministic(True)`
cc: ezyang jeffdaily sunway513
Pull Request resolved: https://github.com/pytorch/pytorch/pull/48654
Reviewed By: bdhirsh
Differential Revision: D25272296
Pulled By: ezyang
fbshipit-source-id: 70400572b0ab37c6db52636584de0ae61bb5270a