def METHOD_NAME(self, version):
    url = "https://github.com/ROCm-Developer-Tools/rocr_debug_agent/archive/"
    if version <= Version("3.7.0"):
        url += "roc-{0}.tar.gz".format(version)
    else:
        url += "rocm-{0}.tar.gz".format(version)
    return url