cpp_thread_test/dgemv: cap concurrency to number of hw threads on small systems
authorMarius Hillenbrand <mhillen@linux.ibm.com>
Wed, 17 Jun 2020 14:08:48 +0000 (16:08 +0200)
committerMarius Hillenbrand <mhillen@linux.ibm.com>
Wed, 17 Jun 2020 14:08:48 +0000 (16:08 +0200)
commit478898b37a91836a39d046f8c70e26c6c9fc06c7
tree58e16daad9f8b8e0735bc7a6ad4e2eed11c6f208
parent1bd3cd66c270134d138f7b61cd158407a07086cf
cpp_thread_test/dgemv: cap concurrency to number of hw threads on small systems

... instead of (number of hw threads - 4) to avoid invalid numbers on
smaller systems. Currently, systems with 4 or fewer CPUs (e.g., small CI
VMs) would fail the test. Fixes one of the issues discussed in #2668

Signed-off-by: Marius Hillenbrand <mhillen@linux.ibm.com>
cpp_thread_test/dgemv_thread_safety.cpp