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

Signed-off-by: colramos-amd <colramos@amd.com>


[ROCm/rocprofiler-compute commit: fbe6b2d683]
Bu işleme şunda yer alıyor:
colramos-amd
2023-12-11 12:26:26 -06:00
işlemeyi yapan: Karl W. Schulz
ebeveyn 8540fde54a
işleme 19492730f3
126 değiştirilmiş dosya ile 10 ekleme ve 31 silme
+1 -1
Dosyayı Görüntüle
@@ -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
Dosyayı Görüntüle
@@ -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
Dosyayı Görüntüle
@@ -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

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor Daha Fazla Göster