Patch roofline debug logging

Signed-off-by: colramos-amd <colramos@amd.com>
This commit is contained in:
colramos-amd
2024-01-29 10:22:37 -06:00
parent 911943acee
commit a1bfa83764
4 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ def calc_ceilings(roofline_parameters, dtype, benchmark_data):
)
for i in range(0, len(cacheHierarchy)):
# Plot BW line
logging.debug("[roofline] Current cache level is ", cacheHierarchy[i])
logging.debug("[roofline] Current cache level is %s" % cacheHierarchy[i])
curr_bw = cacheHierarchy[i] + "Bw"
peakBw = float(benchmark_data[curr_bw][roofline_parameters['device_id']])
+1 -1
View File
@@ -193,7 +193,7 @@ def run_prof(fname, profiler_options, target, workload_dir):
fbase = os.path.splitext(os.path.basename(fname))[0]
m_specs = specs.get_machine_specs(0)
logging.debug("pmc file:", os.path.basename(fname))
logging.debug("pmc file: %s" % str(os.path.basename(fname)))
# standard rocprof options
default_options = [