Logo
Explore Help
Sign In
devtools/eigen
1
0
Fork 0
You've already forked eigen
mirror of https://gitlab.com/libeigen/eigen.git synced 2026-04-10 11:34:33 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
9dda5eb7d243f7dc3797ea7b17a26704da2891da
eigen/unsupported/Eigen/CXX11/src/ThreadPool
History
Ilya Tokar eb6cc29583 Avoid a division in NonBlockingThreadPool::Steal.
Looking at profiles we spend ~10-20% of Steal on simply computing
random % size. We can reduce random 32-bit int into [0, size) range with
a single multiplication and shift. This transformation is described in
https://lemire.me/blog/2016/06/27/a-fast-alternative-to-the-modulo-reduction/
2020-02-14 16:02:57 -05:00
..
Barrier.h
evalSubExprsIfNeededAsync + async TensorContractionThreadPool
2019-08-30 15:13:38 -07:00
EventCount.h
A) fix deadlocks in thread pool caused by EventCount
2019-05-08 10:16:46 -07:00
NonBlockingThreadPool.h
Avoid a division in NonBlockingThreadPool::Steal.
2020-02-14 16:02:57 -05:00
RunQueue.h
A) fix deadlocks in thread pool caused by EventCount
2019-05-08 10:16:46 -07:00
ThreadCancel.h
Added support for thread cancellation on Linux
2016-12-08 08:12:49 -08:00
ThreadEnvironment.h
Reworked the threadpool cancellation mechanism to not depend on pthread_cancel since it turns out that pthread_cancel doesn't work properly on numerous platforms.
2016-12-09 13:05:14 -08:00
ThreadLocal.h
Update ThreadLocal to use separate Initialize/Release callables
2019-09-10 16:13:32 -07:00
ThreadPoolInterface.h
Silence compiler warnings in ThreadPoolInterface.h.
2018-09-19 11:11:04 -07:00
ThreadYield.h
Started to implement a portable way to yield.
2016-04-19 17:59:58 -07:00
Powered by Gitea Version: 1.25.3 Page: 435ms Template: 20ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API