Commit Graph

5 Commits

Author SHA1 Message Date
Mayank Raj a9939111d7
Update dgemv_thread_safety.cpp 2022-07-24 11:51:25 +05:30
Marius Hillenbrand de838c38ef cpp_thread_test/dgemv: fail early if concurrency is zero
The two test cases dgemv_tester and dgemm_tester accept the degree of
concurrency as command line argument (amongst others). Fail early if
value 0 has been specified, instead of later with less-clear symptoms.

Signed-off-by: Marius Hillenbrand <mhillen@linux.ibm.com>
2020-06-17 16:15:44 +02:00
Marius Hillenbrand 478898b37a 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>
2020-06-17 16:08:48 +02:00
Martin Kroeker 66f89c0aaf
Match thread count to machine capability 2020-04-10 22:06:44 +02:00
TiborGY c00289ba54
upload thread safety test folder 2019-06-01 21:30:06 +02:00