Skip to content

Commit aadcb27

Browse files
committed
Report if OpenMP is being used
1 parent dedc720 commit aadcb27

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dynadjust/include/config/dnaversion-stream.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ void output_version(T& stream, bool PAD=false)
8181
else
8282
stream << "Version: ";
8383
stream << __BINARY_VERSION__ << ", " << __BINARY_BUILDTYPE__ << " with " << __LINEAR_ALGEBRA_LIB__;
84+
#if defined(_OPENMP)
85+
stream << " (with OpenMP)";
86+
#endif
8487
}
8588

8689

0 commit comments

Comments
 (0)