Move perfmon_configs dir into omniperf_soc dir. Rename config dirs for clarity

Signed-off-by: colramos-amd <colramos@amd.com>
Этот коммит содержится в:
colramos-amd
2023-12-11 12:26:26 -06:00
коммит произвёл Karl W. Schulz
родитель b99d448d3b
Коммит fbe6b2d683
126 изменённых файлов: 10 добавлений и 31 удалений
+1 -1
Просмотреть файл
@@ -504,7 +504,7 @@ def omniarg_parser(parser, omniperf_home, omniperf_version):
dest="config_dir",
metavar="",
help="\t\tSpecify the directory of customized configs.",
default=omniperf_home.joinpath("omniperf_soc/configs"),
default=omniperf_home.joinpath("omniperf_soc/analysis_configs/"),
)
analyze_advanced_group.add_argument(
"--save-dfs",
+4
Просмотреть файл
@@ -132,6 +132,10 @@ class Omniperf:
@demarcate
def detect_soc(self, arch=None):
"""Load OmniSoC instance for Omniperf run
"""
# in case of analyze mode, we can explicitly specify an arch
# rather than detect from rocminfo
if not arch:
mspec = get_machine_specs(0)
arch = mspec.GPU
+1 -1
Просмотреть файл
@@ -36,7 +36,7 @@ class OmniProfiler_Base():
self.__profiler = profiler_mode
self.__soc = soc
self.__perfmon_dir = os.path.join(str(config.omniperf_home), "perfmon_configs")
self.__perfmon_dir = os.path.join(str(config.omniperf_home), "omniperf_soc", "profile_configs")
def get_args(self):
return self.__args

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше