[all-commits] [llvm/llvm-project] b82ac7: [OpenMP][AMDGPU] More detail in AMDGPU kernel laun...

Jan Patrick Lehr via All-commits all-commits at lists.llvm.org
Tue Feb 28 04:42:32 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b82ac74f7e184319c4f379234915efc8d096f048
      https://github.com/llvm/llvm-project/commit/b82ac74f7e184319c4f379234915efc8d096f048
  Author: JP Lehr <JanPatrick.Lehr at amd.com>
  Date:   2023-02-28 (Tue, 28 Feb 2023)

  Changed paths:
    M openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp
    M openmp/libomptarget/plugins-nextgen/amdgpu/utils/UtilitiesRTL.h
    M openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp
    M openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.h
    M openmp/libomptarget/test/offloading/info.c

  Log Message:
  -----------
  [OpenMP][AMDGPU] More detail in AMDGPU kernel launch info

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.

Reviewed By: jhuber6

Differential Revision: https://reviews.llvm.org/D144521




More information about the All-commits mailing list