summaryrefslogtreecommitdiff
path: root/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test.cpp')
-rw-r--r--test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test.cpp b/test.cpp
index 6ffd7e6e..8b970a22 100644
--- a/test.cpp
+++ b/test.cpp
@@ -547,7 +547,8 @@ void PrintSeedAndThreads()
tc = omp_get_num_threads();
}
- std::cout << "Using " << tc << " OMP " << (tc == 1 ? "thread" : "threads") << std::endl;
+ std::cout << "OpenMP version " << (int)_OPENMP << ", ";
+ std::cout << tc << (tc == 1 ? " thread" : "threads") << std::endl;
#endif
}