17 #ifndef TESSERACT_ARCH_SIMDDETECT_H_ 18 #define TESSERACT_ARCH_SIMDDETECT_H_ 35 return detector.avx_available_;
39 return detector.avx2_available_;
43 return detector.avx512F_available_;
47 return detector.avx512BW_available_;
51 return detector.fma_available_;
55 return detector.sse_available_;
70 static TESS_API bool avx2_available_;
71 static TESS_API bool avx512F_available_;
72 static TESS_API bool avx512BW_available_;
81 #endif // TESSERACT_ARCH_SIMDDETECT_H_ static bool IsAVX512FAvailable()
double(*)(const double *, const double *, int) DotProductFunction
static TESS_API void Update()
static bool IsAVX512BWAvailable()
static bool IsAVX2Available()
static bool IsFMAAvailable()
DotProductFunction DotProduct
static bool IsSSEAvailable()
static bool IsAVXAvailable()