[all-commits] [llvm/llvm-project] 352983: [Offload] Add GenericProfilerTy abstraction and AP...

Jan Patrick Lehr via All-commits all-commits at lists.llvm.org
Wed Sep 23 06:11:40 PDT 2026


  Branch: refs/heads/users/jplehr/feat/01-ompt-upstream-device-tracing
  Home:   https://github.com/llvm/llvm-project
  Commit: 35298328ebe2e22aac7c0a20f59e9a18c219b4bb
      https://github.com/llvm/llvm-project/commit/35298328ebe2e22aac7c0a20f59e9a18c219b4bb
  Author: JP Lehr <JanPatrick.Lehr at amd.com>
  Date:   2026-09-23 (Wed, 23 Sep 2026)

  Changed paths:
    M offload/include/Shared/APITypes.h
    M offload/plugins-nextgen/amdgpu/src/rtl.cpp
    M offload/plugins-nextgen/common/CMakeLists.txt
    A offload/plugins-nextgen/common/include/GenericProfiler.h
    M offload/plugins-nextgen/common/include/PluginInterface.h
    A offload/plugins-nextgen/common/src/GenericProfiler.cpp
    M offload/plugins-nextgen/common/src/PluginInterface.cpp
    M offload/plugins-nextgen/cuda/src/rtl.cpp
    M offload/plugins-nextgen/host/src/rtl.cpp
    M offload/plugins-nextgen/level_zero/include/L0Device.h
    M offload/plugins-nextgen/level_zero/include/L0Plugin.h
    M offload/plugins-nextgen/level_zero/src/L0Device.cpp
    M offload/plugins-nextgen/level_zero/src/L0Plugin.cpp

  Log Message:
  -----------
  [Offload] Add GenericProfilerTy abstraction and APITypes extensions

Introduce GenericProfilerTy alongside the existing OMPT callback dispatch.
The weak profiler factory returns a no-op implementation, so the new hooks
are silent while the established callback path continues to handle OMPT
device events.

Co-Authored-By: Dhruva Chakrabarti <dhruva.chakrabarti at amd.com>
Co-Authored-By: Michael Halkenhauser <michaelgerald.halkenhauser at amd.com>
Assisted-by: Claude Code


  Commit: 2795d4cb745f17424979fbb4d07ee78f082b9c3c
      https://github.com/llvm/llvm-project/commit/2795d4cb745f17424979fbb4d07ee78f082b9c3c
  Author: JP Lehr <JanPatrick.Lehr at amd.com>
  Date:   2026-09-23 (Wed, 23 Sep 2026)

  Changed paths:
    M offload/plugins-nextgen/common/include/GenericProfiler.h

  Log Message:
  -----------
  Review: Improve naming and documentation


Compare: https://github.com/llvm/llvm-project/compare/4efb650f5ab9...2795d4cb745f

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list