Patch roofline debug logging

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


[ROCm/rocprofiler-compute commit: a1bfa83764]
此提交包含在:
colramos-amd committed 2024-01-29 10:22:37 -06:00
1 父節點 3f294b5dc0
當前提交 edccad450c
4 file changed
+11 -11

No files matched your search

+1 -1
查看文件
@@ -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
查看文件
@@ -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 = [