[llvm] [OpenMP][offload] Add LIBOMPTARGET_KERNEL_EXE_TIME (PR #222105)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 9 05:30:10 PDT 2026
================
@@ -1040,6 +1041,19 @@ struct AMDGPUStreamTy {
AMDGPUSignalManagerTy *SignalManager;
};
+ /// Utility struct holding arguments for tracing a kernel's duration.
+ struct KernelDurationTracingArgsTy {
----------------
jhuber6 wrote:
I suppose my main question is why this interface is necessary. I would expect this to just be something expressed at the`libomptarget` level. When it launches a kernel, it just automagically puts events around it to track it. Then it would already know all of this information. Or am I missing something. I don't feel like any of this should be in the plugin layer.
https://github.com/llvm/llvm-project/pull/222105
More information about the llvm-commits
mailing list