Commit Graph

17 Commits

Author SHA1 Message Date
105a7cd7fa tests: prepare Eigen_threadpool implementation for new Eigen versions 2025-10-10 16:09:37 -07:00
30aee54f6a cpu: threadpool: add setters/getters for max_concurrency 2022-10-28 19:20:15 +02:00
6582bffc4c test: fix a build issue on gcc 4.8 2022-09-07 22:31:24 +02:00
ec634dc2ad benchdnn: add threading control options 2022-08-30 22:23:25 +02:00
3afca07241 tests: please clang-tidy 2022-05-06 18:27:55 -07:00
7f191f8063 src, tests: resolve -Wundef violations 2022-05-02 16:17:04 -07:00
3310d64691 tests: allow newer packages of Eigen 2022-05-02 12:04:57 -07:00
725c02c5e5 part revert: threadpool: make user's choice of threads in runtime as primary
Instead of masking the issue, fix implementations to be ready to face
more threads in execute than available at creation.
2021-12-18 13:04:33 -08:00
6aa6f95ce4 fixup: fixup: threadpool: make user's choice of threads in runtime as primary 2021-12-07 11:00:52 -08:00
9595870cf8 fixup: threadpool: make user's choice of threads in runtime as primary
Make test threadpool implementation not to use more threads than
available on a single socket. Bnorm, Lnorm and Pooling are crashing due
to scratchpad allocation tied to number of threads. Using more threads
than at creation time is unsafe.
2021-12-03 23:23:34 -08:00
2738856ceb tests: threadpool: remove data race 2021-06-14 18:12:22 -07:00
dda3e69e7e common: thread: move num_cores_per_socket into separate function 2020-12-11 07:54:30 -08:00
f340a1272a test: threadpool: use number of cores as max num threads 2020-12-09 15:06:34 -08:00
f1aa540beb api: adjust header structure to fulfil oneAPI requirements. Introduce API v2. 2020-11-25 07:02:56 -08:00
954a9d788c style: drop virtual specifier for overridden functions 2020-05-07 19:39:05 -07:00
a47d789763 style: s/counting_barrier/&_t/g 2020-04-29 15:25:25 -07:00
c458100b92 build, tests: support static dnnl with threadpool runtime
This fixes the tests that did not previously link due to duplicate
symbols.

This one definitely falls into the 'ugly' bucket: an ugly hack for
barely noticeable gain.
2020-04-29 15:25:05 -07:00