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:
cyy
2023-06-15 16:48:25 +00:00
committed by PyTorch MergeBot
parent e75f7994e1
commit f2900420da
26 changed files with 132 additions and 100 deletions

View File

@ -62,6 +62,7 @@ class TORCH_API /*alignas(kCacheLineSize)*/ ThreadPool {
size_t minWorkSize_;
};
size_t getDefaultNumThreads();
} // namespace caffe2
#endif // CAFFE2_UTILS_THREADPOOL_H_