[llvm] [offload] Fix kernel record/replay and add extensible mechanism (PR #190588)

Johannes Doerfert via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 8 15:46:23 PDT 2026


================
@@ -320,6 +320,9 @@ struct AMDGPUMemoryPoolTy {
     return (GlobalFlags & HSA_AMD_MEMORY_POOL_GLOBAL_FLAG_KERNARG_INIT);
   }
 
+  /// Get the page size.
+  size_t getGranule() const { return Granule; }
----------------
jdoerfert wrote:


If this is the page size, let's call it that. If not, modify the comment to reflect what it is, e.g., allocator granularity.

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


More information about the llvm-commits mailing list