[llvm] [OpenMP][offload] Add LIBOMPTARGET_KERNEL_EXE_TIME (PR #222105)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 11 06:20:17 PDT 2026


================
@@ -1383,6 +1417,33 @@ struct AMDGPUStreamTy {
     return Plugin::success();
   }
 
+  /// Report the duration of a completed kernel. This is a post completion
+  /// action, taken while the kernel's signal is still alive.
+  static Error kernelDurationTracingAction(void *Data) {
----------------
shiltian wrote:

A function needs to start with a verb.

https://github.com/llvm/llvm-project/pull/222105


More information about the llvm-commits mailing list