Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dependency on platform threads library #7297

Merged
merged 7 commits into from
Jan 20, 2023
Merged

Remove dependency on platform threads library #7297

merged 7 commits into from
Jan 20, 2023

Conversation

alexreinking
Copy link
Member

Remove dependency of libHalide on the platform threading library by factoring ThreadPool.h out into tools/halide_thread_pool.h as a simple header-only helper library.

Depends on #7295

steven-johnson and others added 5 commits January 19, 2023 11:40
…ill pathologically slow builds, but in the environment it was added for (Google build servers), it ended up being redundant to existing mechanisms, and removing it allows us to remove a dependency on threading libraries in libHalide.
README_cmake.md Outdated Show resolved Hide resolved
@alexreinking alexreinking merged commit 147ff48 into main Jan 20, 2023
@alexreinking alexreinking deleted the no-threads branch January 20, 2023 12:54
stevesuzuki-arm added a commit to stevesuzuki-arm/Halide that referenced this pull request Jan 20, 2023
When using toolchain where Threads libs are not available,
which is the case in baremetal target cross-compilation,
we were not able to load even HalideHelpers pacakge.

Depends: halide#7297
ardier pushed a commit to ardier/Halide-mutation that referenced this pull request Mar 3, 2024
* Refactor internal ThreadPool.h into halide_thread_pool.h tool

* Drop dependency of libHalide on threads library

* Remove other redundant uses of Threads::Threads

* Update CMake documentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants