cpp_thread_test/dgemv: fail early if concurrency is zero
authorMarius Hillenbrand <mhillen@linux.ibm.com>
Wed, 17 Jun 2020 14:15:44 +0000 (16:15 +0200)
committerMarius Hillenbrand <mhillen@linux.ibm.com>
Wed, 17 Jun 2020 14:15:44 +0000 (16:15 +0200)
commitde838c38ef9db98a635de1dcedeba8b578ec87b3
tree968809f062996c3b9bbf8a4adb0acc8e9568aa3f
parent478898b37a91836a39d046f8c70e26c6c9fc06c7
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>
cpp_thread_test/cpp_thread_safety_common.h
cpp_thread_test/dgemm_thread_safety.cpp
cpp_thread_test/dgemv_thread_safety.cpp