mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
fix missing-prototypes warnings in torch_cpu (Part 6) (#101845)
This PR fixes more missing-prototypes violations in the torch_cpu source following PRs #100053, #100147, #100245, #100849 and #101788 Pull Request resolved: https://github.com/pytorch/pytorch/pull/101845 Approved by: https://github.com/albanD
This commit is contained in:
@ -62,6 +62,7 @@ class TORCH_API /*alignas(kCacheLineSize)*/ ThreadPool {
|
||||
size_t minWorkSize_;
|
||||
};
|
||||
|
||||
size_t getDefaultNumThreads();
|
||||
} // namespace caffe2
|
||||
|
||||
#endif // CAFFE2_UTILS_THREADPOOL_H_
|
||||
|
Reference in New Issue
Block a user