Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion extension/threadpool/threadpool.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,13 @@ class ThreadPool final {
* is a private API, which will later be replaced by something that allows
* creating of threadpool with requested size and use such a threadpool with
* backend delegates, custom ops or optimized lib.
* For Meta internal use, there is
* executorch::extension::threadpool::UseNThreadsThreadPoolGuard API that
* provides a safer way to select a subset of threads, from threadpool, to run
* the model on.
*/
[[deprecated("This API is experimental and may change without notice.")]]
[[deprecated(
"This API is experimental and may change without notice. Consider using UseNThreadsThreadPoolGuard")]]
bool _unsafe_reset_threadpool(uint32_t num_threads);

/**
Expand Down
Loading