Skip to content

Commit

Permalink
Added AVX2 and AVX512 detector
Browse files Browse the repository at this point in the history
  • Loading branch information
theraysmith committed Aug 2, 2017
1 parent 39b168a commit 2ef1aea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/tesseractmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ void PrintVersionInfo() {
}
}
#endif
if (SIMDDetect::IsAVX512BWAvailable()) printf(" Found AVX512BW\n");
if (SIMDDetect::IsAVX512FAvailable()) printf(" Found AVX512F\n");
if (SIMDDetect::IsAVX2Available()) printf(" Found AVX2\n");
if (SIMDDetect::IsAVXAvailable()) printf(" Found AVX\n");
if (SIMDDetect::IsSSEAvailable()) printf(" Found SSE\n");
}
Expand Down

0 comments on commit 2ef1aea

Please sign in to comment.