Patch roofline debug logging
Signed-off-by: colramos-amd <colramos@amd.com>
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user