[llvm] [Offload] Add GenericProfilerTy abstraction and APITypes extensions (upstream OMPT device tracing 1/n) (PR #214340)

Alex Duran via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 10 02:36:46 PDT 2026


================
@@ -168,9 +172,15 @@ GenericKernelTy::getKernelLaunchEnvironment(
        DPxPTR(&LocalKLE), DPxPTR(*AllocOrErr),
        sizeof(KernelLaunchEnvironmentTy));
 
+  // Temporarily suppress ProfilerData so the KLE upload is not traced as
+  // a user data operation.
----------------
adurang wrote:

Even if OMPT wanted to skip providing this information (which I still thing is not right) we shouldn't embed OMPT logic here. We should just report the information to the Profiler layer with enough information so it can be its own informed decision.

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


More information about the llvm-commits mailing list