[llvm-branch-commits] [llvm] [Offload][AMDGPU] Wire HSA profiling into GenericProfiler abstraction (PR #226044)

Alex Duran via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Sep 25 01:28:04 PDT 2026


================
@@ -1421,6 +1539,15 @@ struct AMDGPUStreamTy {
     if (auto Err = Slots[Curr].schedReleaseBuffer(KernelArgs, MemoryManager))
       return Err;
 
+#ifdef OMPT_SUPPORT
----------------
adurang wrote:

In particular, I think this #ifdef  should be removed. It doesn't make sense that there's a lot of profiler related actions not guarded by this one it is, and by macro the should only be defined from libomptarget eventually.

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


More information about the llvm-branch-commits mailing list