Skip to content

Commit 0ec280c

Browse files
authored
[tune_gemm] Fix rocprofv3 command (#917)
Pass `--output-format csv` to make sure kernel trace files are generated.
1 parent cb89b61 commit 0ec280c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/perf-kernels/tools/tune_gemm/tune_gemm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def profile_batch_kernels(M, N, K, gpuid, gpus, jobs, verbose):
205205
print(f"profiling {kernel_name} on GPU {gpuid}")
206206
here = Path(__file__).parent
207207
run_bash_command_wrapper(
208-
f"PYTHONPATH={here} rocprofv3 --kernel-trace -o {get_output_dir()}/{jobId} --log-level fatal -- python {get_filename_profile_driver(M, N, K, jobId)}",
208+
f"PYTHONPATH={here} rocprofv3 --kernel-trace -o {get_output_dir()}/{jobId} --output-format csv --log-level fatal -- python {get_filename_profile_driver(M, N, K, jobId)}",
209209
capture=(verbose < 2))
210210
jobId += ngpus
211211

0 commit comments

Comments
 (0)