[ROCm] add 4.0 to nightly builds (#49632)
Summary:
Depends on https://github.com/pytorch/builder/pull/614.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/49632
Reviewed By: ngimel
Differential Revision: D25665880
Pulled By: walterddr
fbshipit-source-id: b37a55b7e3028648453b422683fa4a72e0ee04a4