pytorch/caffe2/utils/threadpool
Jane Xu 2d465e4d1d [non ghstack] Init threadpool with user defined num_threads before default (#137051)
Very similar to https://github.com/pytorch/pytorch/pull/136793, but adds back `pool->set_thread_count` call as it is still necessary (I am guessing due to the mutex)

Fixes #ISSUE_NUMBER

Pull Request resolved: https://github.com/pytorch/pytorch/pull/137051
Approved by: https://github.com/albanD
2024-10-02 20:02:30 +00:00
..
pthreadpool-cpp.cc [non ghstack] Init threadpool with user defined num_threads before default (#137051) 2024-10-02 20:02:30 +00:00
pthreadpool-cpp.h [non ghstack] Init threadpool with user defined num_threads before default (#137051) 2024-10-02 20:02:30 +00:00
pthreadpool.cc Revert "Fix clang-tidy warnings in Caffe2 code (#134935)" 2024-09-13 16:42:37 +00:00
pthreadpool.h
pthreadpool_impl.cc Revert "Fix clang-tidy warnings in Caffe2 code (#134935)" 2024-09-13 16:42:37 +00:00
thread_pool_guard.cpp
thread_pool_guard.h
ThreadPool.cc
ThreadPool.h Revert "Fix clang-tidy warnings in Caffe2 code (#134935)" 2024-09-13 16:42:37 +00:00
ThreadPoolCommon.h
WorkersPool.h