Roofline support for SLES15 SP3 and greater (#109)
Signed-off-by: coleramos425 <colramos@amd.com>
[ROCm/rocprofiler-compute commit: 77559a2f25]
Ta zmiana jest zawarta w:
%! (template.HTML=
coleramos425)złożyło 2023-04-14 12:50:28 -05:00
1 rodzic
38442c0daf
złożenie
b72787b361
Plik 1 zmieniony
+6
-2
@@ -326,9 +326,13 @@ def detect_roofline():
|
||||
elif rhel_distro == "platform:el8":
|
||||
# Must be a valid RHEL machine
|
||||
distro = rhel_distro
|
||||
elif sles_distro == "15.3":
|
||||
elif (
|
||||
(type(sles_distro) == str and len(sles_distro) >= 3) and # confirm string and len
|
||||
sles_distro[:2] == "15" and int(sles_distro[3]) >= 3 # SLES15 and SP >= 3
|
||||
):
|
||||
# Must be a valid SLES machine
|
||||
distro = sles_distro
|
||||
# Use SP3 binary for all forward compatible service pack versions
|
||||
distro = "15.3"
|
||||
elif ubuntu_distro == "20.04":
|
||||
# Must be a valid Ubuntu machine
|
||||
distro = ubuntu_distro
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika