[all-commits] [llvm/llvm-project] abb878: [Offload] Allow querying the size of globals (#147...

Ross Brunton via All-commits all-commits at lists.llvm.org
Thu Jul 10 04:05:52 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: abb878438ae853fc068aa16e862b30c8d9ae04e1
      https://github.com/llvm/llvm-project/commit/abb878438ae853fc068aa16e862b30c8d9ae04e1
  Author: Ross Brunton <ross at codeplay.com>
  Date:   2025-07-10 (Thu, 10 Jul 2025)

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

  Log Message:
  -----------
  [Offload] Allow querying the size of globals (#147698)

The `GlobalTy` helper has been extended to make both the Size and Ptr be
optional. Now `getGlobalMetadataFromDevice`/`Image` is able to write the
size of the global to the struct, instead of just verifying it.



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