From ebf4eb3dad904cb86107645f06da1d4e225a8314 Mon Sep 17 00:00:00 2001 From: Zhang Jinhan Date: Fri, 18 Sep 2026 20:04:19 +0800 Subject: [PATCH] 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 Co-authored-by: Yuansheng --- modules/core/src/lapack.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/core/src/lapack.cpp b/modules/core/src/lapack.cpp index 75c40f8f6e..a03661c67e 100644 --- a/modules/core/src/lapack.cpp +++ b/modules/core/src/lapack.cpp @@ -276,7 +276,7 @@ template 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::dot(const float* a, const float* b, int n, float* result) const { if( n < 2*VTraits::vlanes() ) @@ -356,8 +356,8 @@ template<> inline int VBLAS::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 void JacobiSVDImpl_(_Tp* At, size_t astep, _Tp* _W, _Tp* Vt, size_t vstep,