Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Looks like
defined(_OPENMP)
is what's known in the MSVC(2019) world…
…: 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)
- Loading branch information
I think that
_OPENMP
is the standard macro which is defined when OpenMP is enabled.But we don't want to enable OpenMP (at least not for all Tesseract code) because that would enable multithreading, too, and that costs a lot of computation overhead.
For Linux it is possible to enable OpenMP SIMD without enabling all of OpenMP. Is there a compiler flag which supports such limited OpenMP for MS VC, too?