From aab3c02dfa17d3b85e0073076bc720626abef09d Mon Sep 17 00:00:00 2001 From: Loren Schwiebert Date: Fri, 22 Nov 2024 21:46:42 -0500 Subject: [PATCH] Add entries to print newer OpenMP versions --- src/Main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Main.cpp b/src/Main.cpp index 262b151d5..6b376e61c 100644 --- a/src/Main.cpp +++ b/src/Main.cpp @@ -114,9 +114,9 @@ int main(int argc, char *argv[]) { // Print OpenMP version if recognized or OpenMP date code if not recognized. #ifdef _OPENMP std::unordered_map omp_map{ - {200505, "2.5"}, {200805, "3.0"}, {201107, "3.1"}, - {201307, "4.0"}, {201511, "4.5"}, {201611, "5.0 Preview 1"}, - {201811, "5.0"}}; + {200505, "2.5"}, {200805, "3.0"}, {201107, "3.1"}, {201307, "4.0"}, + {201511, "4.5"}, {201611, "5.0 Preview 1"}, {201811, "5.0"}, + {202011, "5.1"}, {202111, "5.2"}, {202411, "6.0"}}; std::unordered_map::const_iterator match = omp_map.find(_OPENMP); if (match == omp_map.end())