#15807 fixed the building error for rocm with cmake 3.26. The specialized relaxation of the cmake version is not needed anymore.