Fixes warning to refer to SMs instead of Cuda Cores (#97224)
Fixes https://github.com/pytorch/pytorch/issues/97179
Pull Request resolved: https://github.com/pytorch/pytorch/pull/97224
Approved by: https://github.com/eellison, https://github.com/voznesenskym