)]}'
{
  "commit": "f8b84141b215a4b1e5d01758ec486554cbc4c819",
  "tree": "699ca1c116b44aded334afb243d6653496db7ebc",
  "parents": [
    "4823dc0e2e6a9de8289421eb87b58ebce8620198"
  ],
  "author": {
    "name": "Ben Vanik",
    "email": "ben.vanik@gmail.com",
    "time": "Mon Oct 28 10:54:33 2024 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Oct 28 10:54:33 2024 -0700"
  },
  "message": "Modernizing iree_atomic_*. (#18910)\n\nC11\u0027s _Generic lets us avoid the need for specifying the type in the\r\nname and more closely match the C11 atomic syntax. This assumes that any\r\nC compiler we have that goes down the disabled atomics path supports\r\n_Generic (modern GCC, Clang, and MSVC all have for awhile).\r\n\r\nThis allows us to drop-in replace C11-style atomics (useful in the new\r\nAMDGPU backend) and on MSVC will allow us to use their implementation\r\nwhen it\u0027s ready (it\u0027s way better than the Interlocked solution we have\r\nnow).",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d4151ee299906cb1eb3d808cf42a0810b0d041dc",
      "old_mode": 33188,
      "old_path": "experimental/webgpu/nop_semaphore.c",
      "new_id": "65d26486567b0177f6dbc60699bcb2643075e623",
      "new_mode": 33188,
      "new_path": "experimental/webgpu/nop_semaphore.c"
    },
    {
      "type": "modify",
      "old_id": "731d9eef510ec96257efcdd380cb9eb02c32e192",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/base/internal/atomics.h",
      "new_id": "f428731506a5c2f32bfedf1de60d5a5f99918732",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/base/internal/atomics.h"
    },
    {
      "type": "modify",
      "old_id": "44514e05c7426274ad1bb9219c4c1abc3869964d",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/base/internal/atomics_clang.h",
      "new_id": "afa7a3352017a67d94d1d44959dac3188b993175",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/base/internal/atomics_clang.h"
    },
    {
      "type": "modify",
      "old_id": "5c0a7cad6ff5e9f3d260851d9033ce84e371c0dd",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/base/internal/atomics_disabled.h",
      "new_id": "5dbb272f474867fd1331ee7e6dd39d909c8a9ad2",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/base/internal/atomics_disabled.h"
    },
    {
      "type": "modify",
      "old_id": "d413b9816253e9eb84c5b825386a5794cf1df8b7",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/base/internal/atomics_gcc.h",
      "new_id": "728add7286126dabab5670ab41ba1112631c87ca",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/base/internal/atomics_gcc.h"
    },
    {
      "type": "modify",
      "old_id": "5cfbf43eb3f60f1038e55197959b5243200475e5",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/base/internal/atomics_msvc.h",
      "new_id": "2af2798c0a13561d59524a2a4cf7ce5eac06b4b7",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/base/internal/atomics_msvc.h"
    },
    {
      "type": "modify",
      "old_id": "a9fce2f2173e04a86344cc2c92f03223f6840d83",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/base/internal/atomics_test.cc",
      "new_id": "d78890c674a78d592d9e42330dc7c45ba4dc1672",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/base/internal/atomics_test.cc"
    },
    {
      "type": "modify",
      "old_id": "af6e4e80b8efa312909cf673d1b339510a9f2a49",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/base/internal/dynamic_library_win32.c",
      "new_id": "2cbdd07f6416aa92dce0cb7c69e17f9ed5c17ecc",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/base/internal/dynamic_library_win32.c"
    },
    {
      "type": "modify",
      "old_id": "65fb0d1a93e8df8a4e0db05212979b7b7800ea4e",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/base/internal/synchronization.c",
      "new_id": "960a70c3be9b2c3a4ac235ace170ba97da2a27ec",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/base/internal/synchronization.c"
    },
    {
      "type": "modify",
      "old_id": "52932f84881697d9a78d5ab936b3779a48e4a4d5",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/base/internal/threading_darwin.c",
      "new_id": "dc4b5f8ef81eb068ad2028680f9e99035f24ef8f",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/base/internal/threading_darwin.c"
    },
    {
      "type": "modify",
      "old_id": "1686fd16a0605f4f31bbb0e706f1bb8c0f9eadfb",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/base/internal/threading_pthreads.c",
      "new_id": "3f15987be76868be8b4143cf3ec01f2f3b9e816e",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/base/internal/threading_pthreads.c"
    },
    {
      "type": "modify",
      "old_id": "8ee5a96b7fa6811b4e0d147c05c04280a92c7b2a",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/base/internal/threading_test.cc",
      "new_id": "1fd973083e2227575d6727b45e6abbabdb3072ac",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/base/internal/threading_test.cc"
    },
    {
      "type": "modify",
      "old_id": "6166ce28817508cfe3f246d53200b6a0cd91bf0f",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/base/internal/threading_win32.c",
      "new_id": "64ddca614da20c62b1e37825857b88dac74abd46",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/base/internal/threading_win32.c"
    },
    {
      "type": "modify",
      "old_id": "e3192595e177dd0766c6f14fc23ceff9d7b56ee2",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/base/internal/wait_handle_inproc.c",
      "new_id": "7f92797b1bc8b4884bd6df5b283c2741e2b60893",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/base/internal/wait_handle_inproc.c"
    },
    {
      "type": "modify",
      "old_id": "236ffaac840b9f0ffeb89fb57182d01e9a6984c2",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/cuda/memory_pools.c",
      "new_id": "1e34422478f585f99399769ddc92dc10766c0cb8",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/cuda/memory_pools.c"
    },
    {
      "type": "modify",
      "old_id": "e599cf62daa01ad3cdf6af249f108a72c2cb8288",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/hip/memory_pools.c",
      "new_id": "89e27fafdfd1237526406e84a43f6591d797d7ef",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/hip/memory_pools.c"
    },
    {
      "type": "modify",
      "old_id": "f741f2ea3a63ac35a2a4966c5792ceff4c536166",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/metal/shared_event.m",
      "new_id": "716306c215bb30c75feda384d0ebd03fc05c29c8",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/metal/shared_event.m"
    },
    {
      "type": "modify",
      "old_id": "ca0128f78890af72f570797f57c2bc031b301d86",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/metal/staging_buffer.m",
      "new_id": "e83e622e868b070d93cf4dc428d9cd0ba1ae4e86",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/metal/staging_buffer.m"
    },
    {
      "type": "modify",
      "old_id": "f75b2c0bbdb101d87a256dd0e995d2ba91c8f5b7",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/drivers/vulkan/native_semaphore.cc",
      "new_id": "631f138a1c265409e4646ff28df882bc4dd638b4",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/drivers/vulkan/native_semaphore.cc"
    },
    {
      "type": "modify",
      "old_id": "6d41c76df5d0614949a86002da1f1a9dabb9ded8",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/local/executable_plugin_manager.c",
      "new_id": "2739aa9f26c6f2f49bcfb3469c227f0ab66ab19f",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/local/executable_plugin_manager.c"
    },
    {
      "type": "modify",
      "old_id": "b4b2285c972fad8855cd139d1860081d4b7a264c",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/utils/deferred_work_queue.c",
      "new_id": "e41fe35237781f91d08c0f5557e506a8d88b3194",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/utils/deferred_work_queue.c"
    },
    {
      "type": "modify",
      "old_id": "cee1df6ebe2cba4011ec819603d2726410429b51",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/hal/utils/file_transfer.c",
      "new_id": "2bc8decf2f9ae29c6e8e0ed3363132b06a4449fc",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/hal/utils/file_transfer.c"
    },
    {
      "type": "modify",
      "old_id": "3dbf756d75194b217d31904a66339ba105313c8b",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/task/affinity_set.h",
      "new_id": "dfe6a7a5293ede58ed1f2b92bd60092ab0cdf7e8",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/task/affinity_set.h"
    },
    {
      "type": "modify",
      "old_id": "ff3280aaf4d251d8a097fbe59f1a1e10446a7ab3",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/task/executor.c",
      "new_id": "6fc98e279e4cf0d74c5b9e157a077e528f9daa67",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/task/executor.c"
    },
    {
      "type": "modify",
      "old_id": "63dba4ce01924c51271eb7db74f71646eadff4ef",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/task/executor_demo.cc",
      "new_id": "972d16b114a7142a32e6559e733d6175a7421169",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/task/executor_demo.cc"
    },
    {
      "type": "modify",
      "old_id": "e314379dc3bec85a43c4e2812b44e214bfb7bf08",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/task/poller.c",
      "new_id": "e04aa3bcf1623f9870ff33f2ba97ec5df4633db1",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/task/poller.c"
    },
    {
      "type": "modify",
      "old_id": "3ccf6ae5dfea2862288043085d311799e8c3e0f5",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/task/scope.c",
      "new_id": "a777d3dc60672a8f57937c9e34504843c4f7e280",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/task/scope.c"
    },
    {
      "type": "modify",
      "old_id": "ae4fbf99d5b394a1c582265b2feb4df4fcb2ddad",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/task/task.c",
      "new_id": "d0e40103e8141ce46540d870a1ac41177b69ab88",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/task/task.c"
    },
    {
      "type": "modify",
      "old_id": "3324b6cc464ed502cb0be549909317bcbc5ee311",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/task/task_test_dispatch.cc",
      "new_id": "b18c26e790ec4aa7b62fd2de0ee4b49f7c9f0081",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/task/task_test_dispatch.cc"
    },
    {
      "type": "modify",
      "old_id": "5bebaa50fc094b0299329c32803f80f8a1039bca",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/task/worker.c",
      "new_id": "e0e1efd82085fce9dbb9837946ecbe248b185f07",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/task/worker.c"
    },
    {
      "type": "modify",
      "old_id": "d55e67fb99f3aaa42fe77194d427e0027407fb92",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/vm/context.c",
      "new_id": "3a1fc239e999e5e715a35a481c21aa76434dedb1",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/vm/context.c"
    },
    {
      "type": "modify",
      "old_id": "2ba5bab75ab37f8a6982f4fddf7ed5d3cabf5a75",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/vm/invocation.c",
      "new_id": "d3fe20ac0f12d4308c385f686b18de3dee502a73",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/vm/invocation.c"
    },
    {
      "type": "modify",
      "old_id": "3d5f2552b585f9eb4812b3f8c8498c5d09790cf1",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/vm/ref.c",
      "new_id": "fe3313620075d41239c04dd8b8afc29d79e38943",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/vm/ref.c"
    },
    {
      "type": "modify",
      "old_id": "68eaa5eb5dc553165803ea6af0953450b40e3260",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/vm/ref_test.cc",
      "new_id": "5260749b31aaed173615fca1a8aa547cf3ec44c8",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/vm/ref_test.cc"
    }
  ]
}
