[llvm] [Offload] Add `olMemcpyRect` with amdgpu implementation (PR #160321)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 24 07:02:10 PDT 2025


================
@@ -126,6 +126,15 @@ struct KernelLaunchParamsTy {
   /// Ptrs to the Data entries. Only strictly required for the host plugin.
   void **Ptrs = nullptr;
 };
+
+/// Rectangular range for rect memcpies. Should be the same layout as
+/// liboffload's `ol_memcpy_rect_t`.
+struct MemcpyRectTy {
+  void *Base;
----------------
shiltian wrote:

Initialize them, like those structs above?

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


More information about the llvm-commits mailing list