From 939474118e8d4996567024d662013807f9e0be99 Mon Sep 17 00:00:00 2001 From: coleramos425 Date: Tue, 30 May 2023 17:03:22 -0500 Subject: [PATCH] Suppress verbose output Signed-off-by: coleramos425 [ROCm/rocprofiler-compute commit: 62304b8543beaef3ef3629a20b454c4992642f8a] --- .../src/omniperf_analyze/utils/gui_components/roofline.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/rocprofiler-compute/src/omniperf_analyze/utils/gui_components/roofline.py b/projects/rocprofiler-compute/src/omniperf_analyze/utils/gui_components/roofline.py index 1c6727a80f..36718e5b33 100644 --- a/projects/rocprofiler-compute/src/omniperf_analyze/utils/gui_components/roofline.py +++ b/projects/rocprofiler-compute/src/omniperf_analyze/utils/gui_components/roofline.py @@ -50,7 +50,8 @@ def generate_plots( fig = go.Figure() plotMode = "lines+text" if is_standalone else "lines" line_data = roofline_calc.empirical_roof(roof_info, mem_level, verbose) - print("Line data:\n", line_data) + if verbose: + print("Line data:\n", line_data) ####################### # Plot BW Lines