[llvm] [Offload] Add GenericProfilerTy abstraction and APITypes extensions (PR #225639)
Alex Duran via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 23 06:25:50 PDT 2026
================
@@ -324,6 +336,9 @@ Error GenericKernelTy::launch(GenericDeviceTy &GenericDevice,
RRHandle = *RRHandleOrErr;
}
+ Profiler.handlePreKernelLaunch(&GenericDevice, EffectiveNumBlocks,
+ AsyncInfoWrapper);
+
----------------
adurang wrote:
Yes, we would do something similar I think. But unless you're doing that for all invocations (which we'd like to avoid) as it is, as far as I can see, no information is passed to launchImpl (or other interfaces) to tell it that it needs to capture such signal (event for L0).
https://github.com/llvm/llvm-project/pull/225639
More information about the llvm-commits
mailing list