)]}'
{
  "commit": "915c6ea4d5d5af191c40cb6f0168fbaf4684eb2f",
  "tree": "9d5a6e565cfb378f1b26579558b5ff9fc71e3dd8",
  "parents": [
    "b63db901bf90751c9b1f5f8b812f7ce6e6af9d83"
  ],
  "author": {
    "name": "Ben Vanik",
    "email": "ben.vanik@gmail.com",
    "time": "Tue May 05 20:13:06 2026 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue May 05 20:13:06 2026 -0700"
  },
  "message": "[HAL] Add executable global lookup buffers (#24336)\n\nIntroduces iree_hal_executable_lookup_global_by_name as the public HAL\nAPI for resolving executable-owned globals. The API returns a normal\niree_hal_buffer_t so callers can use existing queue copies, mapping\nchecks, and command-buffer bindings instead of reaching around HAL with\nraw device pointers.\n\nAMDGPU resolves HSA variable symbols for the selected queue-affinity\ndevice and wraps the variable address as non-owning executable-backed\nstorage. HIP and CUDA use their module global lookup APIs and wrap\nexternal device pointers with the same lifetime rule. Returned buffers\nretain the executable until the buffer is released.\n\nAll executable vtables now implement the hook explicitly. Backends\nwithout global support fail with UNIMPLEMENTED, and replay recording\nfails loudly rather than returning an unrecorded buffer object.\n\n(cherry pick from #24049 with CUDA + AMDGPU support as well as HIP)\n\nCo-authored-by: Andrew Woloszyn \u003candrew.woloszyn@gmail.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9323facbeb02020f442ebdd0fadaad0cf6405359",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/cts/core/executable_test.cc",
      "new_id": "684534aa371ff7bd7369616929e8ba0f12e24dbf",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/cts/core/executable_test.cc"
    },
    {
      "type": "modify",
      "old_id": "d05686921efdc2747abc8f073a3558e4516d2200",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/amdgpu/executable.c",
      "new_id": "d76c1bfeb9ae61ad3da089509387a316422f10b2",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/amdgpu/executable.c"
    },
    {
      "type": "modify",
      "old_id": "e9a38a02a29391a54a24eb5b05bad61866bd83da",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/amdgpu/executable.h",
      "new_id": "c85ec159533a976864245d7ed6b312381550b214",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/amdgpu/executable.h"
    },
    {
      "type": "modify",
      "old_id": "9479c1024be76d4c223f7710fcd548c52b2599db",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/amdgpu/executable_cache.c",
      "new_id": "48e65fe297dc4110eba83a6f9fb35203ad83fad0",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/amdgpu/executable_cache.c"
    },
    {
      "type": "modify",
      "old_id": "d5d88f1fe5fa067626f86e2d902f2c333d69fbc6",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/amdgpu/executable_cache.h",
      "new_id": "e33ad30c6a523ef94a31928803ee52fcd671282d",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/amdgpu/executable_cache.h"
    },
    {
      "type": "modify",
      "old_id": "5accac01a1eec459ba47a705ad1fef73a2233984",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/amdgpu/logical_device.c",
      "new_id": "2359edc5c317a1e730a8a3bbf826aa67c214c411",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/amdgpu/logical_device.c"
    },
    {
      "type": "modify",
      "old_id": "3d60ad218a530cc8ca3febee9ad781f7f0c6fc4e",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/cuda/cuda_device.c",
      "new_id": "e2741302b45fed06051f3c1d05aa7ef446eb5486",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/cuda/cuda_device.c"
    },
    {
      "type": "modify",
      "old_id": "2ba6d1eb46cfde18243910bdea3f9076917a7095",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/cuda/cuda_dynamic_symbol_table.h",
      "new_id": "e11c76c5d6aa07f1499a8e1809c96bf703e4a3a2",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/cuda/cuda_dynamic_symbol_table.h"
    },
    {
      "type": "modify",
      "old_id": "7aad65e76eeea092b89e227b0d911cce7680e9e4",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/cuda/native_executable.c",
      "new_id": "3a1158dfbae01964e07411e5f2e30fdd140b90ce",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/cuda/native_executable.c"
    },
    {
      "type": "modify",
      "old_id": "002f1918416b4a8f8ecd72b717c07b6943d7d301",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/cuda/native_executable.h",
      "new_id": "6774ce3de4b47797b3c5d95e662e4c2ff31b86e7",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/cuda/native_executable.h"
    },
    {
      "type": "modify",
      "old_id": "339191cd705d5f58631ebcb413295fc8bc3b6d01",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/cuda/nop_executable_cache.c",
      "new_id": "6fa84b3473d83974f3fcd76070cf17db5ac58935",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/cuda/nop_executable_cache.c"
    },
    {
      "type": "modify",
      "old_id": "1a7ed1920d9cf878786ef94de7bc08e38dc50489",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/cuda/nop_executable_cache.h",
      "new_id": "bd212493a722c05047d3e7a521f716c51928612e",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/cuda/nop_executable_cache.h"
    },
    {
      "type": "modify",
      "old_id": "869cf550f9370c661900fa1cc11c7bf71104db8b",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/hip/dynamic_symbol_tables.h",
      "new_id": "b7a78fe730707789a128e08f60426cbc9acb4bac",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/hip/dynamic_symbol_tables.h"
    },
    {
      "type": "modify",
      "old_id": "cd45ca39a1d9fc6047b4e7ccdd8309af3346e0fe",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/hip/hip_device.c",
      "new_id": "4c38db7305bd7cda585cfbd69d82536f7ff469a9",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/hip/hip_device.c"
    },
    {
      "type": "modify",
      "old_id": "c4d077b72b0bb99ae97f5088ac8ec884f4e86dcf",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/hip/native_executable.c",
      "new_id": "71561135808e159d5f23737e570cacd3bd4585b9",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/hip/native_executable.c"
    },
    {
      "type": "modify",
      "old_id": "0e4fbad112fad55afa9bf6fecfbf2c61e2871353",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/hip/native_executable.h",
      "new_id": "615dbc0bc2ebb1b9b6c1d0b568b84412a601a737",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/hip/native_executable.h"
    },
    {
      "type": "modify",
      "old_id": "5de46bd2e51b70af17e9cb26c2a0f43c149ff8f6",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/hip/nop_executable_cache.c",
      "new_id": "c841e42143c1bbdd9ec83ffc014a6de4ae67127c",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/hip/nop_executable_cache.c"
    },
    {
      "type": "modify",
      "old_id": "fb0a9dd8da1b58d025736b9f15395f880be61b1e",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/hip/nop_executable_cache.h",
      "new_id": "11ffcc14eaf80715e4ad506593438b84d6dc8451",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/hip/nop_executable_cache.h"
    },
    {
      "type": "modify",
      "old_id": "4de38c9de7abe187184f7e7d9820c8c2e8c3944b",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/metal/executable.m",
      "new_id": "4d73905e4078b40c0724bf4b0f2f65bdd8fb76ba",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/metal/executable.m"
    },
    {
      "type": "modify",
      "old_id": "c08736bbbe8c6dab15d4174e3c9b7c296ff9a1e3",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/null/executable.c",
      "new_id": "ffa0882154cebfb5441b6541f5eaab15a6f013b2",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/null/executable.c"
    },
    {
      "type": "modify",
      "old_id": "2b3db70660cfabe93e678b83269418ce379f9ecf",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/vulkan/native_executable.cc",
      "new_id": "3ae32426b71a63366e0b26740f6c4c3df869bdf0",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/vulkan/native_executable.cc"
    },
    {
      "type": "modify",
      "old_id": "67eced44d70af8f5c5b01ff3f6a44251e22d8396",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/executable.c",
      "new_id": "5d4f56efe19a12382ffae205845edf1892c5e423",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/executable.c"
    },
    {
      "type": "modify",
      "old_id": "b0095ecd8c848814c1954843129706085d43d04c",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/executable.h",
      "new_id": "9697674780e3fb990606cdf0256b78834b7c495b",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/executable.h"
    },
    {
      "type": "modify",
      "old_id": "d44767c252348288f3d317f705247636bc5e2dda",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/local/loaders/embedded_elf_loader.c",
      "new_id": "bc5f8f08847d516da2b267827109d11a287a2197",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/local/loaders/embedded_elf_loader.c"
    },
    {
      "type": "modify",
      "old_id": "4cb6719a55bc603d1445b60de821fb44e68a4270",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/local/loaders/static_library_loader.c",
      "new_id": "9bfe6afdeafb457a156b86f607bf2abd96d194af",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/local/loaders/static_library_loader.c"
    },
    {
      "type": "modify",
      "old_id": "b21b154e7811e4f708a63d8a809444e52df0856d",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/local/loaders/system_library_loader.c",
      "new_id": "e7e4482e881bd991978a33436e5a02c4590d28b8",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/local/loaders/system_library_loader.c"
    },
    {
      "type": "modify",
      "old_id": "8f263d7b1b2199b283417c89f517b6642dec580b",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/local/loaders/vmvx_module_loader.c",
      "new_id": "58575cae84035ed350635720d86173bab91cda6c",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/local/loaders/vmvx_module_loader.c"
    },
    {
      "type": "modify",
      "old_id": "0c7a80cfde9ea91d1f65664492f53ba4b51a9d31",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/replay/recorder_executable.c",
      "new_id": "68088ec2e94f81e0813795962f8a020482d070f8",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/replay/recorder_executable.c"
    },
    {
      "type": "modify",
      "old_id": "5c5e097a560d97fd7f91fbb4a2dcb561b38a2bb5",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/testing/mock_device.c",
      "new_id": "b31f4455186469e3dbda5d4002d8fb1f14d6b30f",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/testing/mock_device.c"
    }
  ]
}
