From 50480908624a898f6152090dc4348ac4cf12b6fd Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 10 Apr 2020 12:45:39 +0200 Subject: [PATCH] Update dgemv_thread_safety.cpp --- cpp_thread_test/dgemv_thread_safety.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp_thread_test/dgemv_thread_safety.cpp b/cpp_thread_test/dgemv_thread_safety.cpp index 3baab9e0a..5411fec29 100644 --- a/cpp_thread_test/dgemv_thread_safety.cpp +++ b/cpp_thread_test/dgemv_thread_safety.cpp @@ -17,7 +17,7 @@ int main(int argc, char* argv[]){ uint32_t numTestRounds = 16; //number of testing rounds before success exit uint32_t maxHwThreads = omp_get_max_threads(); - if (maxHwThreads() < 52) + if (maxHwThreads < 52) numConcurrentThreads = maxHwThreads -4; if (argc > 4){