diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-01-22 03:42:53 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-01-22 03:42:53 -0500 |
commit | 8572541841898d88d36d2f8f275d8e8ed6a81a72 (patch) | |
tree | 42217c333a535ac8f7f8f12c02cd0445f292de8f /test.cpp | |
parent | 3f38a5f7ddcbaca60ee0bb8209dfe75d46bd959d (diff) | |
download | cryptopp-git-8572541841898d88d36d2f8f275d8e8ed6a81a72.tar.gz |
Use #pragma omp simd for OpenMP 3.0 compilers (GH #787)
Diffstat (limited to 'test.cpp')
-rw-r--r-- | test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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
}
|