[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:
Jon Chesterfield 2021-01-14 18:13:22 +00:00
parent b99782cf78
commit 5d165f0b89

View File

@ -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) "