Skip to content

Adding the IREE CPU task scheduler (iree/task/). - #4227

Merged
benvanik merged 10 commits into
mainfrom
benvanik-tasks-core
Dec 30, 2020
Merged

benvanik merged 10 commits into
mainfrom
benvanik-tasks-core

Conversation

@benvanik

@benvanik benvanik commented Dec 16, 2020 •

Copy link
Copy Markdown
Collaborator

This is designed to be usable standalone and independent of the HAL. Future PRs will wire this up to the host HAL backend code strictly consuming its public API.

This initial PR has a feature staging demo in iree/task/executor_test.cc that I've been using during development to verify/benchmark features. It shows off how the system is used and when the HAL is wired up will be replaced with tests.

As a size reference, the entire iree/task/ path contributes only ~10KB to an x64 binary and has near zero dependencies (just ~2.5KB from iree/base/ for threading/synchronization/atomics, which would be amortized across other parts of the runtime). For comparison absl::Mutex alone in the same size-optimized LTO'ed build is 20KB (excluding other parts of absl and STL it pulls in). My goal here was to build something that gave us superpowers without any overhead and I think I nailed it :P Note also that this will replace the current iree/hal/host/ threading code that uses std::thread/absl::Mutex/etc so we'll be at a net-negative binary size change while also gaining a fine-grained task-based scheduling system 🤯

@benvanik benvanik added the runtime Relating to the IREE runtime library label Dec 16, 2020
@benvanik benvanik added this to the 2020Q4 Core milestone Dec 16, 2020
@google-cla google-cla Bot added the cla: yes label Dec 16, 2020
@benvanik
benvanik force-pushed the benvanik-tasks-core branch from 9a8fdba to 6fe59c1 Compare December 16, 2020 02:31
@benvanik benvanik added the hal/cpu Runtime Host/CPU-based HAL backend label Dec 16, 2020
@benvanik
benvanik requested a review from ScottTodd December 16, 2020 02:33
@benvanik
benvanik force-pushed the benvanik-tasks-core branch from 6fe59c1 to 55d0de1 Compare December 16, 2020 02:39
@benvanik
benvanik marked this pull request as ready for review December 16, 2020 02:54
@asaadaldien
asaadaldien self-requested a review December 16, 2020 18:04
Comment thread iree/base/debugging.h Resolved
Comment thread iree/base/math.h Resolved
Comment thread iree/task/CMakeLists.txt

iree_cc_library(
NAME
task

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How much binary size will this contribute to the runtime?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not much - the entirety of the task system when compiled from executor_test for x64 is 10KB (which is standalone and not amortizing things so LTO would reduce the cost when compiled with anything else). For reference, in the same extremely optimized build absl::Mutex is 20KB (excluding shared absl/STL bits it pulls in) :P Will add to PR description now that I've built it.

Until this I hadn't actual compiled/checked the sizing and that 10KB is even better than I'd hoped - pretty proud of that as it means even when running on embedded systems this code has near-zero footprint (~2KB of RAM consumption and ~10KB of .text consumption is totally reasonable for a scheduling system).

Comment thread iree/task/executor.h Resolved
Comment thread iree/task/executor.h
Comment on lines +109 to +110
// 1. Users allocate (from iree_task_pool_t, slice from arenas, etc) and
// construct a DAG of iree_task_ts.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have a way to dump/visualize these DAGs? Would that be useful?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not yet but would be very useful - producing a graphviz .dot from an iree_task_submission_t or per-worker task list after coordination would be very useful. As I was doing some of the HAL bringup I was reaching for that: as new submissions get chained in to existing ones with semaphores it'd be really nice to see how they are all wired up. I have a half-done commit somewhere adding an iree_string_builder_t that I should really polish off and use - then it's just appending some text to a buffer and logging it out! Filed issue #4308.

},
0),
workgroup_size_0, workgroup_count_0, &dispatch0);
// dispatch0.header.flags |= IREE_TASK_FLAG_DISPATCH_SLICED;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Useful to keep these comments, #if 1s, etc.?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(will clean up this file a bit async of the rest of the review)

Comment thread iree/task/task.c
Comment on lines +400 to +403
// TODO(benvanik): rework this with some science. For now we just iteratively
// divide up the space from outer->inner scheduling dimension, but ideally
// we'd use some fun cray-style torus scheduling or hilbert curve magic to
// try to ensure better locality using worker constructive sharing masks.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

relating to one of my other comments about a max of 64 workers - I'm wondering how much impact this sort of topological scheduling will matter on consumer systems

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost all possible performance of a system comes from cache reuse and so the entire purpose of this system is meant to get L1/L2(/L3) cache reuse - so topological scheduling is the core requirement! We can chat more about why that's the case, but it's a presupposition that's hard to explain here. Watching some halide talks is probably good background, or talking to Benoit about what Ruy does (which implicitly is doing a lot of this style of stuff but for a very constrained hard-coded case, while this is generalized to arbitrary workloads). The short of it is that such techniques are almost more critical on smaller systems than they are on larger ones as usually the latency requirements are drastically different (outside of highspeed trading) and every DRAM transfer is a potential order of magnitude performance (/power/thermal/etc) loss. Same rules apply to GPUs hence why they use this same scheduling approach: if you stray from texture cache you're going to have a bad time even with the fastest GDDR6 RAM.

Comment thread iree/task/task.c
Comment on lines +649 to +653
// NOTE: these are useful for debugging but dramatically increase our
// cost here; only enable if needed for tracking work distribution:
IREE_TRACE_ZONE_APPEND_VALUE(z_tile, x);
IREE_TRACE_ZONE_APPEND_VALUE(z_tile, y);
IREE_TRACE_ZONE_APPEND_VALUE(z_tile, z);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Intended to be uncommented, given the performance note?

I'm also wondering at a glance if the x/y/z are meant to be appended in the inner loop instead of up a level. Could use a bit more explanation in a comment.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

xyz have to come here so that they are attached to the zone (which is per-tile) - there's nothing else to attach them to?

I hadn't considered nesting the zones (so have a zone for z, y, and x), but since we are currently tuned to only do multiple x tiles per reservation there's no use in doing so - maybe in the future.

Leaving uncommented for now until initial bringup is done as it's extremely useful to be able to ensure work is getting distributed properly.

Comment thread iree/task/task.c Resolved
Comment thread iree/task/queue.h Resolved
Though creating suspended avoids additional context switches testing
showed that they were faster to deal with than waiting entire scheduling
quantums for the threads to first resume after creation.
Turns out, setting the thread name can take a long~~~ time.
This allows us to keep the opaque id while also indicating that we expect
the thread to co-locate (or *not* co-locate, as is the case) with other
threads on the same core.
@benvanik
benvanik force-pushed the benvanik-tasks-core branch from 55d0de1 to 01600a5 Compare December 24, 2020 02:18
Comment thread iree/task/worker.h Resolved
Comment thread iree/task/worker.c Resolved
Comment thread iree/task/worker.c Resolved
Comment thread iree/task/tuning.h
Comment on lines +22 to +26
// Maximum number of workers that an executor can manage.
// A 64 worker hard limit is based on us using uint64_t as a bitmask to select
// workers. It's easy to go smaller (just use fewer bits) if it's known that
// only <64 will ever be used (such as for devices with 2 cores).
#define IREE_TASK_EXECUTOR_MAX_WORKER_COUNT (64)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IREE is designed to be used on a single "node" - not a single physical machine - and you can run multiple task executors assigned to different nodes in the same process. This is a common model for these kind of things even in datacenters/HPC as once you go near 64 cores you're most likely into NUMA territory and you don't want a thread on one core with one memory system attached trying to go over the slower interconnect to access memory attached to a different core.

That's not to mention that it'll be extremely difficult to create enough work with enough concurrency to saturate 64 threads, and even if you could the overheads start to become an issue (each worker attempting to steal work from 63 other workers, etc). You should be performing some form of work distribution at the model level - partitioning your dataset and processing it in batches, etc - instead of just trying to throw bigger batches at things and hope everything (memory capacity, memory bandwidth, less concurrent parts of the operations, etc) scales perfectly. I feel like benoit found that you could completely saturate the DRAM memory bandwidth of some systems in just two cores!

I'll add these notes to the scaling section in executor.h

Comment thread iree/task/tuning.h
Comment on lines +22 to +26
// Maximum number of workers that an executor can manage.
// A 64 worker hard limit is based on us using uint64_t as a bitmask to select
// workers. It's easy to go smaller (just use fewer bits) if it's known that
// only <64 will ever be used (such as for devices with 2 cores).
#define IREE_TASK_EXECUTOR_MAX_WORKER_COUNT (64)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To the other q: we can see how we want to tune these. We may want to pick some values for different target machine classes or architectural properties. For example, a dual-core embedded device with a small amount of RAM may choose to reduce pool reservations, disable slicing (which can use more memory), and cut some of the core data types down (64bit masks to 32bit masks, etc). A multi-tenant scheduler (like a shared sandbox process) with a 16 worker assignment may choose much higher reservation count so that work from one tenant is more likely to complete with spatial/temporal locality benefits --- if latency was not a goal, etc. Some of these may also migrate to runtime-configurable options on the executor, but I wanted to err on the side of keeping them as internal implementation details until we know they are useful: nothing worse than a bunch of knobs on something and having no idea what to set them to :P

Comment thread iree/task/task.c
Comment on lines +649 to +653
// NOTE: these are useful for debugging but dramatically increase our
// cost here; only enable if needed for tracking work distribution:
IREE_TRACE_ZONE_APPEND_VALUE(z_tile, x);
IREE_TRACE_ZONE_APPEND_VALUE(z_tile, y);
IREE_TRACE_ZONE_APPEND_VALUE(z_tile, z);

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

xyz have to come here so that they are attached to the zone (which is per-tile) - there's nothing else to attach them to?

I hadn't considered nesting the zones (so have a zone for z, y, and x), but since we are currently tuned to only do multiple x tiles per reservation there's no use in doing so - maybe in the future.

Leaving uncommented for now until initial bringup is done as it's extremely useful to be able to ensure work is getting distributed properly.

Comment thread iree/task/executor.h
Comment on lines +109 to +110
// 1. Users allocate (from iree_task_pool_t, slice from arenas, etc) and
// construct a DAG of iree_task_ts.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not yet but would be very useful - producing a graphviz .dot from an iree_task_submission_t or per-worker task list after coordination would be very useful. As I was doing some of the HAL bringup I was reaching for that: as new submissions get chained in to existing ones with semaphores it'd be really nice to see how they are all wired up. I have a half-done commit somewhere adding an iree_string_builder_t that I should really polish off and use - then it's just appending some text to a buffer and logging it out! Filed issue #4308.

Comment thread iree/task/executor.h
Comment on lines +150 to +151
// b. If the mailbox is empty the worker *may* attempt to steal work from
// another nearby worker in the topology.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you found it: the topology configuration defines which workers may steal from each other by way of the constructive_sharing_mask. The assumption is that there is uniform (or at least pratically uniform) access behavior between anything in the constructive sharing set and that randomized selection will cover up any slight inconsistencies. In systems with heterogenous cores it's up to the topology to not list the different core types as constructively sharing with each other (as they don't - they destructively share :). This keeps the whole rest of the task system agnostic to what the topology of the system is and gives is just a single place to tune that.

Comment thread iree/task/CMakeLists.txt

iree_cc_library(
NAME
task

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not much - the entirety of the task system when compiled from executor_test for x64 is 10KB (which is standalone and not amortizing things so LTO would reduce the cost when compiled with anything else). For reference, in the same extremely optimized build absl::Mutex is 20KB (excluding shared absl/STL bits it pulls in) :P Will add to PR description now that I've built it.

Until this I hadn't actual compiled/checked the sizing and that 10KB is even better than I'd hoped - pretty proud of that as it means even when running on embedded systems this code has near-zero footprint (~2KB of RAM consumption and ~10KB of .text consumption is totally reasonable for a scheduling system).

Comment thread iree/base/debugging.h Resolved
@benvanik
benvanik requested a review from ScottTodd December 24, 2020 02:26

@ScottTodd ScottTodd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! If you're not in a hurry to unwind your stack of pending changes, maybe wait for @asaadaldien to get back from vacation and review since he expressed interest?

@benvanik

Copy link
Copy Markdown
Collaborator Author

LGTM! If you're not in a hurry to unwind your stack of pending changes, maybe wait for @asaadaldien to get back from vacation and review since he expressed interest?

Want to get the HAL inversion stuff landed, and he's gone for a month, so he can post-review :)

@benvanik
benvanik merged commit af6c2d4 into main Dec 30, 2020
@benvanik
benvanik deleted the benvanik-tasks-core branch December 30, 2020 17:54
@KoolJBlack KoolJBlack mentioned this pull request Jan 7, 2021
iree-copybara-bot added a commit that referenced this pull request Jan 7, 2021
* bb0f95e Enable all packages on all every OS.
* 7cf454d Add dependencies properly for python install targets.
* 827eccf Third attempt: Rename packages to not collide on 'compiler' term.
* a3145cb Second attempt: fix some target names and change the docker image.
* 763fc1b First attempt: enable all python packages as experimental on linux.
* 9364f0f Add install targets for all python packages and configure in CI.
* 6fe74ac Correctly get binary name in android run_binary_test (#4403)
* b1bc038 Remove special handling for runtime -> compiler dep (#4396)
* 38d3c14 Disable run_binary_test on Android (#4402)
* 35d4b32 Build an e2e path for linalg on tensors. (#4368)
* c0e362c Merge google -> main (#4401)
* 7aecc34 Merge branch 'main' into google-to-main
* 7dc756b Attempt to appease linter on SUBMODULE_VERSIONS for mlir-emitc
* c83f594 Use backward buffer allocation in HLOToLinalgOnBuffers (#4318)
* 4889612 Avoid running slow benchmarks as part of testing (#4364)
* 9b72435 Default to quoting strings in Bazel -> CMake (#4394)
* 2a52c0f Fix m1 builds (#4361)
* 30f67df Update cross-compilation for changed experimental flag names (#4365)
* dc7d633 Merge pull request #4386 from google/benvanik-hal-pre
* 3d577af Move macos out of experimental now that it builds.
* 1c2a4bf Note that iree_task_list_discard leaves the list in a usable state.
* dcd1b53 Adding utils for common string view and allocator operations.
* d2af7f3 Adding iree_atomic_thread_fence (like (std::)atomic_thread_fence).
* c691e23 Bazel -> CMake cleanup (#4362)
* e002f99 Attempt to pin the python executable more robustly for macos.
* eb184f9 Link Foundation and Metal frameworks on macos.
* cc8c1b2 Turn -Wunused-variable back on (#4360)
* 52ebf7b Use existing script in submodule synchronize action (#4358)
* 0f0fffd Get remote name in a more portable way in gh scripting (#4357)
* 4868a49 Add one-shot runtime MacOS sanity check workflow.
* 44ca211 Actually use the platlib install command for linux wheels.
* fd36682 [spirv] Replace SPIRVOpLowering with a local class (#4383)
* cf10473 Fix macos matrix spec.
* 197f33b Enable windows build as non experimental.
* 05190e1 Make pyiree compiler package compatible with manylinux2014.
* 626d45a Add missing dep on HLOToLinalg (#4377)
* b0e8243 Integrate MLIR-EmitC at iml130/mlir-emitc@a438d3b (#4375)
* f0514e4 NFC: Fix some pre-existing yaml lint.
* bb1de96 Plumb package suffix, version, and revision info to release packages.
* 995d0b7 Moved iree-check-module-main.cc to iree/tools (#4312)
* 56e40ac Remove suspected merge conflict in darwin_threading.c.
* 938875f Enable macos and windows builds.
* 921b46d Rename cmake_configure_ci.py -> cmake_ci.py.
* 57435cd Fix typo build_iree -> iree_build.
* fd1d06c Fix typo in install-iree -> iree-install.
* 2ab4dfc Update workflow dispatch token.
* 29f1596 Re-enable tag fetching
* f8f4031 Fix issues in snapshot schedule.
* bd6cf1f Add scheduled workflow to trigger snapshot releases.
* 442b35e Fix typo in runtime matrix check.
* b4981b2 Configure pipeline to build IREE runtime wheels.
* 77a63cd Make the main python packages cmake installable.
* 4e1602a Add cmake_configure_ci.py.
* 723ff37 Remove typo from GCC iree_atomic_load_auto macro.
* 847ac69 Disable workflow on push to cidev
* e666fbf Fixing the casting behavior of atomic compare exchange on windows.
* 25c4cb3 Adding merge_from support for IntrusiveList unique_ptr/ref_ptr.
* 334d3e2 Update getting_started_linux_cmake.md (#4367)
* c9687d4 Update bazel_to_cmake to support testonly for iree_bytecode_module (#4337)
* 0657be2 Fix mlir-hlo path in Submodule update scripting (#4356)
* d146a3d Add scripting to update mlir-hlo to match LLVM commit (#4348)
* 3010d3c Clean up naming in LLVM sync script (#4346)
* af6c2d4 Merge pull request #4227 from google/benvanik-tasks-core
* 01600a5 Adding an entire RTOS-scale task scheduling system.
* b47e6f0 Clarifying note on iree_wait_set_erase.
* a60332c Tweaking thread affinity groups to have an SMT flag. This allows us to keep th..
* c5b440d Adding tracing to thread name setters. Turns out, setting the thread name can ..
* b544ef6 Allowing threads to be created running (not always suspended). Though creating..
* c3af92e Adding IREE_TRACE_ZONE_SET_COLOR macro.
* ed727e2 Plumbing tracy mutex support into iree_slim_mutex_t.
* 122d6b8 Adding benoit's MiniLcg pseudo-random number generator.
* 142bc6a Adding and/or/xor atomic operations.
* 9853806 Adding IREE_ASSERT macros.

COPYBARA_INTEGRATE_REVIEW=#4413 from KoolJBlack:main-to-google 594e06c
PiperOrigin-RevId: 350634605
ScottTodd added a commit that referenced this pull request Jan 7, 2021
* bb0f95e Enable all packages on all every OS.
* 7cf454d Add dependencies properly for python install targets.
* 827eccf Third attempt: Rename packages to not collide on 'compiler' term.
* a3145cb Second attempt: fix some target names and change the docker image.
* 763fc1b First attempt: enable all python packages as experimental on linux.
* 9364f0f Add install targets for all python packages and configure in CI.
* 6fe74ac Correctly get binary name in android run_binary_test (#4403)
* b1bc038 Remove special handling for runtime -> compiler dep (#4396)
* 38d3c14 Disable run_binary_test on Android (#4402)
* 35d4b32 Build an e2e path for linalg on tensors. (#4368)
* c0e362c Merge google -> main (#4401)
* 7aecc34 Merge branch 'main' into google-to-main
* 7dc756b Attempt to appease linter on SUBMODULE_VERSIONS for mlir-emitc
* c83f594 Use backward buffer allocation in HLOToLinalgOnBuffers (#4318)
* 4889612 Avoid running slow benchmarks as part of testing (#4364)
* 9b72435 Default to quoting strings in Bazel -> CMake (#4394)
* 2a52c0f Fix m1 builds (#4361)
* 30f67df Update cross-compilation for changed experimental flag names (#4365)
* dc7d633 Merge pull request #4386 from google/benvanik-hal-pre
* 3d577af Move macos out of experimental now that it builds.
* 1c2a4bf Note that iree_task_list_discard leaves the list in a usable state.
* dcd1b53 Adding utils for common string view and allocator operations.
* d2af7f3 Adding iree_atomic_thread_fence (like (std::)atomic_thread_fence).
* c691e23 Bazel -> CMake cleanup (#4362)
* e002f99 Attempt to pin the python executable more robustly for macos.
* eb184f9 Link Foundation and Metal frameworks on macos.
* cc8c1b2 Turn -Wunused-variable back on (#4360)
* 52ebf7b Use existing script in submodule synchronize action (#4358)
* 0f0fffd Get remote name in a more portable way in gh scripting (#4357)
* 4868a49 Add one-shot runtime MacOS sanity check workflow.
* 44ca211 Actually use the platlib install command for linux wheels.
* fd36682 [spirv] Replace SPIRVOpLowering with a local class (#4383)
* cf10473 Fix macos matrix spec.
* 197f33b Enable windows build as non experimental.
* 05190e1 Make pyiree compiler package compatible with manylinux2014.
* 626d45a Add missing dep on HLOToLinalg (#4377)
* b0e8243 Integrate MLIR-EmitC at iml130/mlir-emitc@a438d3b (#4375)
* f0514e4 NFC: Fix some pre-existing yaml lint.
* bb1de96 Plumb package suffix, version, and revision info to release packages.
* 995d0b7 Moved iree-check-module-main.cc to iree/tools (#4312)
* 56e40ac Remove suspected merge conflict in darwin_threading.c.
* 938875f Enable macos and windows builds.
* 921b46d Rename cmake_configure_ci.py -> cmake_ci.py.
* 57435cd Fix typo build_iree -> iree_build.
* fd1d06c Fix typo in install-iree -> iree-install.
* 2ab4dfc Update workflow dispatch token.
* 29f1596 Re-enable tag fetching
* f8f4031 Fix issues in snapshot schedule.
* bd6cf1f Add scheduled workflow to trigger snapshot releases.
* 442b35e Fix typo in runtime matrix check.
* b4981b2 Configure pipeline to build IREE runtime wheels.
* 77a63cd Make the main python packages cmake installable.
* 4e1602a Add cmake_configure_ci.py.
* 723ff37 Remove typo from GCC iree_atomic_load_auto macro.
* 847ac69 Disable workflow on push to cidev
* e666fbf Fixing the casting behavior of atomic compare exchange on windows.
* 25c4cb3 Adding merge_from support for IntrusiveList unique_ptr/ref_ptr.
* 334d3e2 Update getting_started_linux_cmake.md (#4367)
* c9687d4 Update bazel_to_cmake to support testonly for iree_bytecode_module (#4337)
* 0657be2 Fix mlir-hlo path in Submodule update scripting (#4356)
* d146a3d Add scripting to update mlir-hlo to match LLVM commit (#4348)
* 3010d3c Clean up naming in LLVM sync script (#4346)
* af6c2d4 Merge pull request #4227 from google/benvanik-tasks-core
* 01600a5 Adding an entire RTOS-scale task scheduling system.
* b47e6f0 Clarifying note on iree_wait_set_erase.
* a60332c Tweaking thread affinity groups to have an SMT flag. This allows us to keep th..
* c5b440d Adding tracing to thread name setters. Turns out, setting the thread name can ..
* b544ef6 Allowing threads to be created running (not always suspended). Though creating..
* c3af92e Adding IREE_TRACE_ZONE_SET_COLOR macro.
* ed727e2 Plumbing tracy mutex support into iree_slim_mutex_t.
* 122d6b8 Adding benoit's MiniLcg pseudo-random number generator.
* 142bc6a Adding and/or/xor atomic operations.
* 9853806 Adding IREE_ASSERT macros.

COPYBARA_INTEGRATE_REVIEW=#4413 from KoolJBlack:main-to-google 594e06c
PiperOrigin-RevId: 350634605
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hal/cpu Runtime Host/CPU-based HAL backend runtime Relating to the IREE runtime library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants