pytorch/caffe2/utils/threadpool
Oleg Bogdanov bf5a5c2a31 caffe2 | Use _aligned_free in WorkerPool destruction (#19751)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/19751

This has probably never been tested on Windows but destruction of WorkersPool crashes because it uses _aligned_malloc to allocate and 'free' to deallocate, which is not symmetric. Fix is to use _aligned_free in deallocation

Reviewed By: hlu1

Differential Revision: D15083472

fbshipit-source-id: 42243fce8f2dfea7554b52e6b289d9fea81d7681
2019-04-25 14:54:50 -07:00
..
pthreadpool_impl.cc Add pthreadpool_create and pthreadpool_destroy (#15492) 2018-12-21 20:28:18 -08:00
pthreadpool.cc caffe2 | Windows compat fixes 2019-04-23 14:30:19 -07:00
pthreadpool.h Implement 3D and 4D parallelization in Caffe2 thread pool (#12455) 2018-10-08 13:12:57 -07:00
ThreadPool.cc Apply modernize-use-override - 2/2 2019-02-13 21:01:28 -08:00
ThreadPool.h build changes to make cpu unified build working. (#10504) 2018-08-15 17:22:36 -07:00
ThreadPoolCommon.h use C10_MOBILE/ANDROID/IOS (#15363) 2019-01-09 15:08:20 -08:00
WorkersPool.h caffe2 | Use _aligned_free in WorkerPool destruction (#19751) 2019-04-25 14:54:50 -07:00