From 6ee27efd16da8ba8993b7e4885cea39c7f882a6b Mon Sep 17 00:00:00 2001 From: colramos-amd Date: Mon, 4 Mar 2024 12:56:11 -0600 Subject: [PATCH] Resolve merge conflict I missed in prev rebase Signed-off-by: colramos-amd [ROCm/rocprofiler-compute commit: 99bf4fae09d7e5739063a688d44d366225546950] --- .../src/omniperf_analyze/analysis_base.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/projects/rocprofiler-compute/src/omniperf_analyze/analysis_base.py b/projects/rocprofiler-compute/src/omniperf_analyze/analysis_base.py index 634cf87e62..4f0d096b61 100644 --- a/projects/rocprofiler-compute/src/omniperf_analyze/analysis_base.py +++ b/projects/rocprofiler-compute/src/omniperf_analyze/analysis_base.py @@ -122,18 +122,11 @@ class OmniAnalyze_Base: for i in range(len(args.path) - 1): args.gpu_kernel.extend(args.gpu_kernel) else: -<<<<<<< HEAD - error( - "Error: the number of --filter-kernels doesn't match the number of --dir." - ) - -======= console_error( "analysis" "The number of -k/--kernel doesn't match the number of --dir." ) ->>>>>>> All logging should use call new functions @demarcate def initalize_runs(self, normalization_filter=None): if self.__args.list_metrics: @@ -190,11 +183,6 @@ class OmniAnalyze_Base: # ---------------------------------------------------- @abstractmethod def pre_processing(self): -<<<<<<< HEAD - """Perform initialization prior to analysis.""" - logging.debug("[analysis] prepping to do some analysis") - logging.info("[analysis] deriving Omniperf metrics...") -======= """Perform initialization prior to analysis. """ console_debug( @@ -205,7 +193,6 @@ class OmniAnalyze_Base: "analysis", "deriving Omniperf metrics..." ) ->>>>>>> All logging should use call new functions # initalize output file self._output = ( open(self.__args.output_file, "w+") if self.__args.output_file else sys.stdout @@ -233,14 +220,9 @@ class OmniAnalyze_Base: @abstractmethod def run_analysis(self): -<<<<<<< HEAD - """Run analysis.""" - logging.debug("[analysis] generating analysis") -======= """Run analysis. """ console_debug( "analysis", "generating analysis" ) ->>>>>>> All logging should use call new functions