Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Looks like defined(_OPENMP) is what's known in the MSVC(2019) world… #6

Merged
merged 1 commit into from Jul 15, 2021

Conversation

GerHobbelt
Copy link

Don't know if this is useful elsewhere; at least this keeps that important #pragma opm... visible to my compiler (MSVC2019 tesseract project).

What's also mandatory for MSVC to see and act on this #pragma is the compiler option: /openmp:experimental. Without it, no joy on this here dev box. 😉 (That's latest MSVC2019; see also blog article from MS: https://devblogs.microsoft.com/cppblog/improved-openmp-support-for-cpp-in-visual-studio/


SHA-1: d025c78

…: added that one as another enabling condition since benchmarks have shown MSVC2019's `/openmp:experimental` to deliver. :-) (See tesseract-ocr#3486 benchmark reports on @stweil's DotProductNative() implementation)
@GerHobbelt
Copy link
Author

[Rebased to bleeding edge]

@stweil stweil merged commit 554bd1b into stweil:tfloat Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants