[Openmp-commits] [PATCH] D94695: [libomptarget][amdgpu] Fix kernel launch tracing to match previous behavior

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Jan 14 10:13:45 PST 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG5d165f0b893d: [libomptarget][amdgpu] Fix kernel launch tracing to match previous behavior (authored by JonChesterfield).
Herald added a project: OpenMP.
Herald added a subscriber: openmp-commits.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94695/new/

https://reviews.llvm.org/D94695

Files:
  openmp/libomptarget/plugins/amdgpu/src/rtl.cpp


Index: openmp/libomptarget/plugins/amdgpu/src/rtl.cpp
===================================================================
--- openmp/libomptarget/plugins/amdgpu/src/rtl.cpp
+++ openmp/libomptarget/plugins/amdgpu/src/rtl.cpp
@@ -1762,7 +1762,7 @@
                 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) "


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94695.316698.patch
Type: text/x-patch
Size: 561 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210114/6c12480f/attachment.bin>


More information about the Openmp-commits mailing list