Enable roofline for MI350 series (#677)

Rework of roofline binaries generated from rocm-amdgpu-bench
- removed arch identifier in bin name
- removed rocm5 bins altogether

Updated required distros for roofline
- updated distro checks and bin naming
- moved up ubuntu20.04->22.04 and sles15.3->15.6 per rocm support

Enabled ctests for mi350 for test_roof_*
- removed mi350 series check to skip these specific tests

---------

Signed-off-by: Carrie Fallows <Carrie.Fallows@amd.com>
Tento commit je obsažen v:
cfallows-amd
2025-04-28 16:08:23 -04:00
odevzdal GitHub
rodič ad17c4d587
revize 41e73650d5
19 změnil soubory, kde provedl 35 přidání a 31 odebrání
+1
Zobrazit soubor
@@ -48,6 +48,7 @@ SUPPORTED_DATATYPES = {
"gfx940": ["FP8", "FP16", "BF16", "FP32", "FP64", "I8", "I32", "I64"], # Unsupported:
"gfx941": ["FP8", "FP16", "BF16", "FP32", "FP64", "I8", "I32", "I64"], # Unsupported:
"gfx942": ["FP8", "FP16", "BF16", "FP32", "FP64", "I8", "I32", "I64"], # Unsupported:
"gfx950": ["FP8", "FP16", "BF16", "FP32", "FP64", "I8", "I32", "I64"], # Unsupported:
}
PEAK_OPS_DATATYPES = ["FP8", "FP16", "BF16", "FP32", "FP64", "I8", "I32", "I64"]
Binární soubor nebyl zobrazen.
Binární soubor nebyl zobrazen.
Binární soubor nebyl zobrazen.
binární
Zobrazit soubor
Binární soubor nebyl zobrazen.
Binární soubor nebyl zobrazen.
Binární soubor nebyl zobrazen.
Binární soubor nebyl zobrazen.
binární
Zobrazit soubor
Binární soubor nebyl zobrazen.
Binární soubor nebyl zobrazen.
Binární soubor nebyl zobrazen.
Binární soubor nebyl zobrazen.
binární
Zobrazit soubor
Binární soubor nebyl zobrazen.
+7 -11
Zobrazit soubor
@@ -939,14 +939,14 @@ def detect_roofline(mspec):
elif (
(type(sles_distro) == str and len(sles_distro) >= 3)
and sles_distro[:2] == "15" # confirm string and len
and int(sles_distro[3]) >= 3 # SLES15 and SP >= 3
and int(sles_distro[3]) >= 6 # SLES15 and SP >= 6
):
# Must be a valid SLES machine
# Use SP3 binary for all forward compatible service pack versions
distro = "15.3"
elif ubuntu_distro == "20.04" or ubuntu_distro == "22.04" or ubuntu_distro == "24.04":
# Use SP6 binary for all forward compatible service pack versions
distro = "15.6"
elif ubuntu_distro == "22.04" or ubuntu_distro == "24.04":
# Must be a valid Ubuntu machine
distro = ubuntu_distro
distro = "22.04"
else:
console_error("roofline", "Cannot find a valid binary for your operating system")
@@ -984,10 +984,8 @@ def mibench(args, mspec):
distro_map = {
"platform:el8": "rhel8",
"15.3": "sles15sp5",
"20.04": "ubuntu20_04",
"22.04": "ubuntu20_04",
"24.04": "ubuntu20_04",
"15.6": "sles15sp6",
"22.04": "ubuntu22_04",
}
binary_paths = []
@@ -1008,8 +1006,6 @@ def mibench(args, mspec):
dir
+ "-"
+ distro_map[target_binary["distro"]]
+ "-"
+ mspec.gpu_series.lower()
+ "-rocm"
+ target_binary["rocm_ver"]
)