Skip CUDA benchmarks on nogpu configs (#42704)
Summary:
Avoids timeouts when the benchmark is launched on nogpu configs
Pull Request resolved: https://github.com/pytorch/pytorch/pull/42704
Reviewed By: mruberry
Differential Revision: D22987725
Pulled By: malfet
fbshipit-source-id: aa9aece16557c0af8e05e612277ae1d9e0173a51