[all-commits] [llvm/llvm-project] a9e457: [Offload][AMDGPU] Fix RPC server on mixed w32 w64 ...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Mar 9 15:14:21 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a9e457a82f6a349a47bab72a2877b4ea0e321091
      https://github.com/llvm/llvm-project/commit/a9e457a82f6a349a47bab72a2877b4ea0e321091
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2026-03-09 (Mon, 09 Mar 2026)

  Changed paths:
    M offload/plugins-nextgen/amdgpu/src/rtl.cpp
    M offload/plugins-nextgen/common/include/PluginInterface.h
    M offload/plugins-nextgen/common/src/RPC.cpp

  Log Message:
  -----------
  [Offload][AMDGPU] Fix RPC server on mixed w32 w64 workloads (#185496)

Summary:
This was a regression from the original LLVM-gpu-loader. We used to
handle `-mwavefrontsize64` correctly in the loader by over-allocating
memory and just leaving the upper 32-bits masked off. In order to handle
this in offload we need to scan loaded kernels to see how much memory we
need to allocate. This should be safe, the protocol is designed to
handle an arbitrary size and worst-case this just wastes space.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list