Patch roofline debug logging
Signed-off-by: colramos-amd <colramos@amd.com>
[ROCm/rocprofiler-compute commit: a1bfa83764]
이 커밋은 다음에 포함됨:
1 부모
3f294b5dc0
커밋
edccad450c
4 파일이 변경됨
+11
-11
검색과 일치하는 파일 없음
@@ -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']])
|
||||
|
||||
|
||||
@@ -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 = [
|
||||
|
||||
새 이슈에서 참조
사용자 차단