Add pthreadpool_create and pthreadpool_destroy (#15492)
authorHao Lu <hlu@fb.com>
Sat, 22 Dec 2018 04:23:14 +0000 (20:23 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sat, 22 Dec 2018 04:28:18 +0000 (20:28 -0800)
commit58a7f2aed15e79abc3b84877fec43f69aff301e0
tree5ded44e17dfcf35fd6d5683c1fb104366452adc2
parent90aa21e79583df7d3bc81d27b289773ad7b0e874
Add pthreadpool_create and pthreadpool_destroy (#15492)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15492

Add pthreadpool_create and pthreadpool_destroy, which are used by NNPACK tests.

Reviewed By: Maratyszcza

Differential Revision: D13540997

fbshipit-source-id: 628c599df87b552ca1a3703854ec170243f04d2e
caffe2/utils/threadpool/pthreadpool_impl.cc