mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 06:10:12 +00:00
[libomptarget][amdgpu] Fix kernel launch tracing to match previous behavior
Restore control of kernel launch tracing to be >= 1 as it was before export LIBOMPTARGET_KERNEL_TRACE=1 Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D94695
This commit is contained in:
parent
b99782cf78
commit
5d165f0b89
@ -1762,7 +1762,7 @@ int32_t __tgt_rtl_run_target_team_region_locked(
|
||||
loop_tripcount, // From run_region arg
|
||||
KernelInfo->device_id);
|
||||
|
||||
if (print_kernel_trace == 4)
|
||||
if (print_kernel_trace >= 1)
|
||||
// enum modes are SPMD, GENERIC, NONE 0,1,2
|
||||
fprintf(stderr,
|
||||
"DEVID:%2d SGN:%1d ConstWGSize:%-4d args:%2d teamsXthrds:(%4dX%4d) "
|
||||
|
Loading…
Reference in New Issue
Block a user