[Openmp-commits] [PATCH] D144521: [OpenMP][AMDGPU] More detail in AMDGPU kernel launch info

Jan-Patrick Lehr via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Feb 21 13:57:34 PST 2023


jplehr created this revision.
jplehr added reviewers: jhuber6, jdoerfert, JonChesterfield, tianshilei1992.
Herald added subscribers: kosarev, kerbowa, guansong, krytarowski, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
jplehr requested review of this revision.
Herald added subscribers: openmp-commits, sstefan1, wdng.
Herald added a project: OpenMP.

Makes the info that is printed for kernel launches configurable for 
different plugins. Adds all machinery to print the detailed launch 
info that the current AMD plugin provides and includes e.g. register
spill counts.

The files msgpack.cpp, msgpack.def, and msgpack.h are copied from the old plugin
and are untouched. The contents of UtilitiesHSA.cpp and .h are copied together from
various files from the old plugin. The code was originally written by 
Jon Chesterfield. I updated the function and type names visible to the outside, i.e.
in headers, to respect the LLVM conventions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144521

Files:
  openmp/libomptarget/plugins-nextgen/amdgpu/CMakeLists.txt
  openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp
  openmp/libomptarget/plugins-nextgen/amdgpu/utils/UtilitiesHSA.cpp
  openmp/libomptarget/plugins-nextgen/amdgpu/utils/UtilitiesHSA.h
  openmp/libomptarget/plugins-nextgen/amdgpu/utils/msgpack.cpp
  openmp/libomptarget/plugins-nextgen/amdgpu/utils/msgpack.def
  openmp/libomptarget/plugins-nextgen/amdgpu/utils/msgpack.h
  openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp
  openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144521.499290.patch
Type: text/x-patch
Size: 63713 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230221/b3e5d2f2/attachment-0001.bin>


More information about the Openmp-commits mailing list