mirror of
https://github.com/opencv/opencv.git
synced 2026-11-30 13:22:08 -06:00
core: enable VBLAS helpers for scalable SIMD
Extend the CV_SIMD guard in lapack.cpp to include CV_SIMD_SCALABLE, addressing the TODO updated in PR24325. Co-authored-by: Yang Wang <yangwang@iscas.ac.cn> Co-authored-by: Yuansheng <yuansheng@isrc.iscas.ac.cn>
This commit is contained in:
@@ -276,7 +276,7 @@ template<typename T> struct VBLAS
|
||||
int givens(T*, T*, int, T, T) const { return 0; }
|
||||
};
|
||||
|
||||
#if CV_SIMD // TODO: enable for CV_SIMD_SCALABLE, GCC 13 related
|
||||
#if (CV_SIMD || CV_SIMD_SCALABLE)
|
||||
template<> inline int VBLAS<float>::dot(const float* a, const float* b, int n, float* result) const
|
||||
{
|
||||
if( n < 2*VTraits<v_float32>::vlanes() )
|
||||
@@ -356,8 +356,8 @@ template<> inline int VBLAS<double>::givens(double* a, double* b, int n, double
|
||||
}
|
||||
|
||||
|
||||
#endif //CV_SIMD_64F
|
||||
#endif //CV_SIMD
|
||||
#endif // (CV_SIMD_64F || CV_SIMD_SCALABLE_64F)
|
||||
#endif // (CV_SIMD || CV_SIMD_SCALABLE)
|
||||
|
||||
template<typename _Tp> void
|
||||
JacobiSVDImpl_(_Tp* At, size_t astep, _Tp* _W, _Tp* Vt, size_t vstep,
|
||||
|
||||
Reference in New Issue
Block a user