Integrated support for using rocscope with omniperf for top10 (--i-feel-lucky)

Signed-off-by: coleramos425 <colramos@amd.com>
This commit is contained in:
Keith Lowery
2022-12-07 20:19:22 +00:00
zatwierdzone przez coleramos425
rodzic 4c6a64f4e5
commit eadd35e5c6
22 zmienionych plików z 5487 dodań i 66 usunięć
+13
Wyświetl plik
@@ -29,6 +29,19 @@ prog = "omniperf"
# Per IP block max number of simulutaneous counters
# GFX IP Blocks
perfmon_config = {
"vega10": {
"SQ": 8,
"TA": 2,
"TD": 2,
"TCP": 4,
"TCC": 4,
"CPC": 2,
"CPF": 2,
"SPI": 2,
"GRBM": 2,
"GDS": 4,
"TCC_channels": 16,
},
"mi50": {
"SQ": 8,
"TA": 2,
+2
Wyświetl plik
@@ -28,6 +28,8 @@ import sys
from pathlib import Path
import numpy
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
from matplotlib.pyplot import get, text
from math import log, pi, sqrt
+1 -1
Wyświetl plik
@@ -31,7 +31,7 @@ from dataclasses import dataclass
from pathlib import Path as path
from textwrap import dedent
gpu_list = {"gfx906", "gfx908", "gfx90a"}
gpu_list = {"gfx906", "gfx908", "gfx90a","gfx900"}
@dataclass