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]
Este cometimento está contido em:
cometido por
Karl W. Schulz
ascendente
8540fde54a
cometimento
19492730f3
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Alguns ficheiros não foram mostrados porque foram modificados demasiados ficheiros neste diff Mostrar mais
Criar uma nova questão referindo esta
Bloquear um utilizador