)]}'
{
  "commit": "53daa9513bbc9c0dbbc1300a9337f263d151a0cb",
  "tree": "7f1faa836c1fc917aeee2aa9dcfa032b0bce36b9",
  "parents": [
    "b0895d6c71ab9cd169305c9984e3692d6521349d"
  ],
  "author": {
    "name": "Ben Vanik",
    "email": "ben.vanik@gmail.com",
    "time": "Thu Aug 21 08:24:42 2025 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Aug 21 15:24:42 2025 +0000"
  },
  "message": "Adding semaphore creation and wait flags for controlling behavior. (#21619)\n\nThis set of changes adds arguments to semaphore APIs that allow\napplications to signal their intended usage of semaphores they create to\nimplementations (which queues they may be used on, whether they need\ninterrupt services, and whether they are exportable) and when they wait\nwhat kind of latency they are expecting as a hint for the wait behavior.\n\nNo implementations are updated here, all of these flags are for future\nwork. Behavior is defaulted to what it is today before these additions\n(interrupts/exports requested, no special handling of queue affinity,\nand blocking waits). This is the most general behavior that should\nalways be correct with only usage of the new flags potentially creating\nproblems.\n\nFixes #21615.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b30cceac23fd96288a3591d3ef0bba103a77763d",
      "old_mode": 33188,
      "old_path": "experimental/web/sample_webgpu/main.c",
      "new_id": "8b08964fa61565e1da12d77f833b12dd3d7dfe1d",
      "new_mode": 33188,
      "new_path": "experimental/web/sample_webgpu/main.c"
    },
    {
      "type": "modify",
      "old_id": "8d9bdb0574cd4698bc349a885ed7388ee80cda18",
      "old_mode": 33188,
      "old_path": "experimental/webgpu/webgpu_device.c",
      "new_id": "d80e7ac0d71fff8f8e40ca2063b51445d2e1e129",
      "new_mode": 33188,
      "new_path": "experimental/webgpu/webgpu_device.c"
    },
    {
      "type": "modify",
      "old_id": "f91c8b113f9a298c64305603295e9244ef834a28",
      "old_mode": 33188,
      "old_path": "integrations/pjrt/src/iree_pjrt/common/api_impl.cc",
      "new_id": "4d375cdc1bebd5a3e2df39edd76a2b59e38dd4e4",
      "new_mode": 33188,
      "new_path": "integrations/pjrt/src/iree_pjrt/common/api_impl.cc"
    },
    {
      "type": "modify",
      "old_id": "52f06ad7316dc6c7079dd793587cca825313599b",
      "old_mode": 33188,
      "old_path": "runtime/bindings/python/hal.cc",
      "new_id": "18f0feb406a47d936b6407085c9aa65a7ad99697",
      "new_mode": 33188,
      "new_path": "runtime/bindings/python/hal.cc"
    },
    {
      "type": "modify",
      "old_id": "7ab872781b5ad9cbeccc373b8be5792f196d2c4d",
      "old_mode": 33188,
      "old_path": "runtime/bindings/python/loop.cc",
      "new_id": "f0ddf13a9e6ac33e64b8f2cf79be5233e15d09e1",
      "new_mode": 33188,
      "new_path": "runtime/bindings/python/loop.cc"
    },
    {
      "type": "modify",
      "old_id": "47729b655eef87093e16dd3f81e687d7ea8379a1",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/buffer_transfer.c",
      "new_id": "8d95ff0eb550a271aa417eae5db2512b9e1587c6",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/buffer_transfer.c"
    },
    {
      "type": "modify",
      "old_id": "f0bbdf9424ede41df3707b2dbf5827ad54087754",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/cts/cts_test_base.h",
      "new_id": "adea3c4ebb14a9262521ce2159a949dbfc6c06f5",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/cts/cts_test_base.h"
    },
    {
      "type": "modify",
      "old_id": "9c8c8f95dc050e38f1b8509e715718825b0c870d",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/cts/file_test.h",
      "new_id": "22f7f949ca3d45839c5367b812bb4d33fd13cab4",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/cts/file_test.h"
    },
    {
      "type": "modify",
      "old_id": "df6f1481f2fffcb45d064368a90acf62aaa97939",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/cts/semaphore_submission_test.h",
      "new_id": "09cc0ef8c0ae0f827d0fbba88d2c4f48ab72dfa1",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/cts/semaphore_submission_test.h"
    },
    {
      "type": "modify",
      "old_id": "7d0592f1921a1162ebeb17a12676f3f0e3f72422",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/cts/semaphore_test.h",
      "new_id": "1e5e313054898e939ef7cc6ab31d8083b85e795a",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/cts/semaphore_test.h"
    },
    {
      "type": "modify",
      "old_id": "6e535cac59b1806a2a970b7e4c250ffd0f93fd0f",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/device.c",
      "new_id": "ad160a997112ca659fc54351ae89d8428b03b92d",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/device.c"
    },
    {
      "type": "modify",
      "old_id": "e4fe7d62db6ad25ab237212d186423d444c6d847",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/device.h",
      "new_id": "2021745c375f03c026f8bf97f16c22ef89617df7",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/device.h"
    },
    {
      "type": "modify",
      "old_id": "3a3fe326ef5a332aeb35eba113919f66c6985bac",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/amdgpu/logical_device.c",
      "new_id": "5a29e02ae309e5ddb7e549bccb19d6ccf1787eb4",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/amdgpu/logical_device.c"
    },
    {
      "type": "modify",
      "old_id": "58a2496a81035ce0f451b109d74452448e31de12",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/amdgpu/semaphore.c",
      "new_id": "c7e94ea88aff0790c0f6323ffd098482937e4b7c",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/amdgpu/semaphore.c"
    },
    {
      "type": "modify",
      "old_id": "ea52561ee438bfbc920339198a58667f498f345a",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/amdgpu/semaphore.h",
      "new_id": "e7c59cf5b5e523b8b2b89178af01362862877a81",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/amdgpu/semaphore.h"
    },
    {
      "type": "modify",
      "old_id": "b621a31deaa50a780b78e50bf7cebda7375a5d9b",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/amdgpu/semaphore_pool_test.cc",
      "new_id": "540849414f82dbb2a291fd30db6ed99403f2003f",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/amdgpu/semaphore_pool_test.cc"
    },
    {
      "type": "modify",
      "old_id": "9e5ae7b7b309e034861d001336e17a7f7a9854e7",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/cuda/cuda_device.c",
      "new_id": "4459030732de89352dcf48327d49f953ae5ce0cf",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/cuda/cuda_device.c"
    },
    {
      "type": "modify",
      "old_id": "e5899a2dd0db0c4760f9c73a1a59cc1f3fd1943a",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/cuda/event_semaphore.c",
      "new_id": "e17c69c43cf062ca725eb10072368ee5beeed13b",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/cuda/event_semaphore.c"
    },
    {
      "type": "modify",
      "old_id": "e67d55fcfe54dbb197068e0d195f0c0cbf3c76ce",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/cuda/event_semaphore.h",
      "new_id": "9b10d0b2bc465f10ace4fdc58dae9d3d25aed3ae",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/cuda/event_semaphore.h"
    },
    {
      "type": "modify",
      "old_id": "a2c20283176440d875c5d6b9f4c2b0831b25c254",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/hip/event_semaphore.c",
      "new_id": "277c9e604551f8ef113964276cad98294be659bb",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/hip/event_semaphore.c"
    },
    {
      "type": "modify",
      "old_id": "b5dec88c5a37e12cb84389140511fe48b6f67d34",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/hip/event_semaphore.h",
      "new_id": "d2accaef8a520d7fb0c60b6ef502da96901a7347",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/hip/event_semaphore.h"
    },
    {
      "type": "modify",
      "old_id": "3f8b2597298f00f7a683f63d56599749b5d01661",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/hip/hip_device.c",
      "new_id": "4c26a28c53f76599bfad0e86ea1263c7ff98bc17",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/hip/hip_device.c"
    },
    {
      "type": "modify",
      "old_id": "ed9924a33c966b99d080bea859d736eca7e83144",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/local_sync/sync_device.c",
      "new_id": "7f4f211a6f956cfd04624437a81190d97eefcb23",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/local_sync/sync_device.c"
    },
    {
      "type": "modify",
      "old_id": "44d0e6704a2abba718c0a0ec555c3e845cc4d65c",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/local_sync/sync_semaphore.c",
      "new_id": "dacd4d558370d114b316c2e1436efa9612c067e9",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/local_sync/sync_semaphore.c"
    },
    {
      "type": "modify",
      "old_id": "6d8db35647fa058593e86dbdbd7ba21924d2b9cb",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/local_sync/sync_semaphore.h",
      "new_id": "1286570ce358fd91027af9672b9af367e81d5887",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/local_sync/sync_semaphore.h"
    },
    {
      "type": "modify",
      "old_id": "577a7d2e0cb57079033c75190ac077377d446d8a",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/local_task/task_device.c",
      "new_id": "45e4c8e7b404633e75fdd590f5674fe5b6ed0221",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/local_task/task_device.c"
    },
    {
      "type": "modify",
      "old_id": "73e7a42531212b02b43612cb9fa86d96336816ce",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/local_task/task_semaphore.c",
      "new_id": "62cd17dab47aee1989e43d0975b907960e674572",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/local_task/task_semaphore.c"
    },
    {
      "type": "modify",
      "old_id": "79fc9fce87f68fbe79472387fb12a5336b417983",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/local_task/task_semaphore.h",
      "new_id": "70167c3fad9f7ab436fd72692bc13e582838d68d",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/local_task/task_semaphore.h"
    },
    {
      "type": "modify",
      "old_id": "b621ac13d0624ce9c6c8c60153463011eb2de9e3",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/metal/metal_device.m",
      "new_id": "33028ddbe86d14d2646e6fc27d94b7b5806fe7ed",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/metal/metal_device.m"
    },
    {
      "type": "modify",
      "old_id": "4e3b8274e130b9f976dba08531663e2627dd8d24",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/metal/shared_event.h",
      "new_id": "24e9af6fac0ea85c2a9c2e238dc32989c140cc04",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/metal/shared_event.h"
    },
    {
      "type": "modify",
      "old_id": "613954b067754ec854d40207499d16b66ce0c954",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/metal/shared_event.m",
      "new_id": "25800a11e64c7b3527c25d1701a9751d6a50d714",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/metal/shared_event.m"
    },
    {
      "type": "modify",
      "old_id": "3cdcc8eff1d07b94ce1f09a18f4f9519f447b0e8",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/null/device.c",
      "new_id": "0d9cc725fa331e44a17616f4dc0551e48125c7c4",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/null/device.c"
    },
    {
      "type": "modify",
      "old_id": "65e3ca3b3bc55e36507e3078fd18ba87c40e30d7",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/null/semaphore.c",
      "new_id": "d3e972e3a91cb6df6716bbb4b9e2213c0e112bf6",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/null/semaphore.c"
    },
    {
      "type": "modify",
      "old_id": "b27d361165a16c519a424cb792c75997e7e6d294",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/null/semaphore.h",
      "new_id": "94ebbd6f3280f4258ae230ceb97e7e6446d80ec4",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/null/semaphore.h"
    },
    {
      "type": "modify",
      "old_id": "a0e30002f935b8134cd697023d9ab4e4abcccd15",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/vulkan/native_semaphore.cc",
      "new_id": "20ac8067180b3bd2c3447c6c6b9d9c91f968656f",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/vulkan/native_semaphore.cc"
    },
    {
      "type": "modify",
      "old_id": "4f98cd27e8beaaa2c060ee315792706a463322e0",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/vulkan/native_semaphore.h",
      "new_id": "30c4893bf6247cff26f3e83b16cc9b5fb5492979",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/vulkan/native_semaphore.h"
    },
    {
      "type": "modify",
      "old_id": "e74bb71f04308827fed99a77dc4cdb75107280a0",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/vulkan/vulkan_device.cc",
      "new_id": "b9a42f7fd9894ffa2d3aad1675495c16398ff090",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/vulkan/vulkan_device.cc"
    },
    {
      "type": "modify",
      "old_id": "a65adbd6d7f49cb299b4b6bb981841d62907e254",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/fence.c",
      "new_id": "2add0c7681ed11bc77cde6f3ec28f2956d297bd9",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/fence.c"
    },
    {
      "type": "modify",
      "old_id": "1c33c9a100edb2927edc8f4845d5bd932aa5cc2f",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/fence.h",
      "new_id": "f7d71703b4d3321446ea435a206525779c357c1e",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/fence.h"
    },
    {
      "type": "modify",
      "old_id": "9c9be64ee2590807b48b0914977cbc7251e98eda",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/semaphore.c",
      "new_id": "58da6ac480a801d4fe5bb6c910456e8d81be88c8",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/semaphore.c"
    },
    {
      "type": "modify",
      "old_id": "bccadf1c75f1f984a29b8fab890f2c8b7a2a9a69",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/semaphore.h",
      "new_id": "13927622f22cfbe56210e9d9c3dc0312804883e3",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/semaphore.h"
    },
    {
      "type": "modify",
      "old_id": "d0f7f43b81efeae3ba5ceef433fa2d9c70ec7dc9",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/utils/debug_allocator.c",
      "new_id": "758d3ca1ebcf0494912b16fede1fbf2db93a4399",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/utils/debug_allocator.c"
    },
    {
      "type": "modify",
      "old_id": "199545d25c154a72e4fe08d68dbdebf54e90ea68",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/utils/file_transfer.c",
      "new_id": "6089af66c9b2b16beac66d6f52a3260681cdfb3c",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/utils/file_transfer.c"
    },
    {
      "type": "modify",
      "old_id": "33d8a3c72ad15bba9594c9745c1c31f2777d9fdd",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/utils/semaphore_base_test.cc",
      "new_id": "f0afb319f60a01a4a7ba9bec851adfd1331d170a",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/utils/semaphore_base_test.cc"
    },
    {
      "type": "modify",
      "old_id": "1a5066ec27577645b8b166cf0ca2c469be1120d1",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/io/parameter_index_provider.c",
      "new_id": "30430235c8faa1b500c3e42cc1fe38fec7a03d18",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/io/parameter_index_provider.c"
    },
    {
      "type": "modify",
      "old_id": "586921e787d9edc185688b3d8cd8496e1a0d2fed",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/modules/check/module.cc",
      "new_id": "a77298ee25c5c578485b89c7b0f7bea2aeab5a8d",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/modules/check/module.cc"
    },
    {
      "type": "modify",
      "old_id": "eb02b3c5267aa8d5583c03e7e1c325c9f0f779d3",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/modules/hal/module.c",
      "new_id": "4c46e449eff36411de9531d5dc6a05ae6c2f0872",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/modules/hal/module.c"
    },
    {
      "type": "modify",
      "old_id": "0c80d23cf5b8eda3aa62ff74ccc1942f9a1dab05",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/tooling/function_util.c",
      "new_id": "477abdf4276f8dc6239f7e53dc72ec9ef6e40512",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/tooling/function_util.c"
    },
    {
      "type": "modify",
      "old_id": "2fa4082bfd32997421a8ec2c0b6be8dbd50202f0",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/tooling/run_module.c",
      "new_id": "8c09a166a4916969c48f21b8c6e0443c1a2a7b80",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/tooling/run_module.c"
    },
    {
      "type": "modify",
      "old_id": "6617e72c81ca2285c5fb37e87404e4514f2031b2",
      "old_mode": 33188,
      "old_path": "samples/custom_module/async/main.c",
      "new_id": "b6233bf29c6022823ea9fc5d09f07556dad844bc",
      "new_mode": 33188,
      "new_path": "samples/custom_module/async/main.c"
    },
    {
      "type": "modify",
      "old_id": "ca8ad71ee19a825efab8e071184ed2990129402a",
      "old_mode": 33188,
      "old_path": "samples/custom_module/async/module.cc",
      "new_id": "92347309520192bc2d25c7e4d26986aba929c7ca",
      "new_mode": 33188,
      "new_path": "samples/custom_module/async/module.cc"
    },
    {
      "type": "modify",
      "old_id": "ab687773776f6f3fd09ed9cb88c13fa3c22e6be9",
      "old_mode": 33188,
      "old_path": "tools/iree-benchmark-executable-main.c",
      "new_id": "da2a6bea99399b82fea5bb2963a4b5380a891a82",
      "new_mode": 33188,
      "new_path": "tools/iree-benchmark-executable-main.c"
    },
    {
      "type": "modify",
      "old_id": "fadf1755d908cc11d17e099930cec83fe31bee34",
      "old_mode": 33188,
      "old_path": "tools/iree-benchmark-module-main.cc",
      "new_id": "f6f5ff5ae82c80ea6e2509d5fe71343e05a68a34",
      "new_mode": 33188,
      "new_path": "tools/iree-benchmark-module-main.cc"
    }
  ]
}
