From 79cb24dc107a6671448db2183e42a9c68303cacc Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 10 Apr 2020 12:45:58 +0200 Subject: [PATCH] Update dgemm_thread_safety.cpp --- cpp_thread_test/dgemm_thread_safety.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp_thread_test/dgemm_thread_safety.cpp b/cpp_thread_test/dgemm_thread_safety.cpp index f10886518..1c5287524 100644 --- a/cpp_thread_test/dgemm_thread_safety.cpp +++ b/cpp_thread_test/dgemm_thread_safety.cpp @@ -16,7 +16,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() < 96) + if (maxHwThreads < 96) numConcurrentThreads = maxHwThreads; if (argc > 4){