Add tencentos to roofline binary detection (#1830)

Force tencentos to use rhel-based bin since tencent is branched off of centos, which is branch of fedora.

Verified rocprof-compute run correctly selects bin to use, and the roofline benchmark values look similar between runs on rhel vs tencentos4 docker images on same system.

Signed-off-by: Carrie Fallows <Carrie.Fallows@amd.com>
Esse commit está contido em:
cfallows-amd
2025-11-18 14:51:05 -05:00
commit de GitHub
commit 8418895b92
+1 -1
Ver Arquivo
@@ -1200,7 +1200,7 @@ def detect_roofline(mspec: Any) -> dict[str, str]: # noqa: ANN401
elif "debian" in id_list:
distro = "22.04"
elif "fedora" in id_list:
elif ("fedora" in id_list) or ("tencentos" in id_list):
distro = "platform:el8"
elif "suse" in id_list: