fix failure of pc sampling and unit tests (#1526)

This commit is contained in:
ywang103-amd
2025-10-28 11:30:32 -04:00
committed by GitHub
parent 00b2bd3e8c
commit 99183ffd92
2 changed files with 3 additions and 0 deletions
@@ -45,6 +45,7 @@ set_target_properties(
set(MAT_MUL_MAX ../sample/mat_mul_max.hip)
set_source_files_properties(${MAT_MUL_MAX} PROPERTIES LANGUAGE HIP)
add_executable(mat_mul_max ${MAT_MUL_MAX})
target_compile_options(mat_mul_max PRIVATE -g -O0)
set_target_properties(
mat_mul_max
PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/tests
@@ -168,6 +168,7 @@ PC_SAMPLING_HOST_TRAP_FILES = sorted([
"pmc_perf_0.csv",
"pmc_perf.csv",
"ps_file_agent_info.csv",
"ps_file_kernel_trace.csv",
"ps_file_pc_sampling_host_trap.csv",
"ps_file_results.json",
"sysinfo.csv",
@@ -177,6 +178,7 @@ PC_SAMPLING_STOCHASTIC_FILES = sorted([
"pmc_perf_0.csv",
"pmc_perf.csv",
"ps_file_agent_info.csv",
"ps_file_kernel_trace.csv",
"ps_file_pc_sampling_stochastic.csv",
"ps_file_results.json",
"sysinfo.csv",