[BE] Use __func__ as checkAllSameGPU() 1st arg (#58502)
Summary:
Hardcoded names often get out of date, for example in AdaptiveAverafePooling those names contained cudnn_ prefix
Pull Request resolved: https://github.com/pytorch/pytorch/pull/58502
Reviewed By: samestep
Differential Revision: D28518917
Pulled By: malfet
fbshipit-source-id: 9b16adae85a179e335da4facb4e769b9f67824bc