Skip to content

Commit 2ef1aea

Browse files
committed
Added AVX2 and AVX512 detector
1 parent 39b168a commit 2ef1aea

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

api/tesseractmain.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ void PrintVersionInfo() {
9696
}
9797
}
9898
#endif
99+
if (SIMDDetect::IsAVX512BWAvailable()) printf(" Found AVX512BW\n");
100+
if (SIMDDetect::IsAVX512FAvailable()) printf(" Found AVX512F\n");
101+
if (SIMDDetect::IsAVX2Available()) printf(" Found AVX2\n");
99102
if (SIMDDetect::IsAVXAvailable()) printf(" Found AVX\n");
100103
if (SIMDDetect::IsSSEAvailable()) printf(" Found SSE\n");
101104
}

0 commit comments

Comments
 (0)