Carry over fixed numSQCs calc from #247

Co-authored-by: Nick Curtis <nicholas.curtis@amd.com>
Signed-off-by: colramos-amd <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 2001908fd8]
Tá an tiomantas seo le fáil i:
colramos-amd
2024-02-21 17:00:39 -06:00
tiomanta ag Cole Ramos
tuismitheoir 62cafd2bdc
tiomantas 72f0f86eae
D'athraigh 8 comhad le 17 breiseanna agus 7 scriosta
+9
Féach ar an gComhad
@@ -34,6 +34,7 @@ import logging
import pandas as pd
from datetime import datetime
from math import ceil
from dataclasses import dataclass
from pathlib import Path as path
from textwrap import dedent
@@ -290,6 +291,14 @@ def total_l2_banks(archname, L2Banks, memory_partition):
archname, memory_partition)
return str(totalL2Banks)
def total_sqc(archname, numCUs, numSEs):
cu_per_se = float(numCUs) / float(numSEs)
sq_per_se = cu_per_se / 2
if archname.lower() in ['mi50', 'mi100']:
sq_per_se = cu_per_se / 3
sq_per_se = ceil(sq_per_se)
return int(sq_per_se) * int(numSEs)
if __name__ == "__main__":
print(MachineSpecs())