enhance: Fix template declaration order for ArithHelperF32 in SVE implemementation (#43948)

pr: #43949

Signed-off-by: Li Liu <li.liu@zilliz.com>
This commit is contained in:
liliu-z 2025-08-19 22:00:39 +08:00 committed by GitHub
parent 8748a59a62
commit bd9fd42310
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1314,6 +1314,10 @@ struct ArithHelperI64<ArithOpType::Mul, CmpOp> {
} }
}; };
//
template <ArithOpType AOp, CompareOpType CmpOp>
struct ArithHelperF32 {};
template <CompareOpType CmpOp> template <CompareOpType CmpOp>
struct ArithHelperF32<ArithOpType::Div, CmpOp> { struct ArithHelperF32<ArithOpType::Div, CmpOp> {
static inline svbool_t static inline svbool_t
@ -1338,10 +1342,6 @@ struct ArithHelperF32<ArithOpType::Div, CmpOp> {
} }
}; };
//
template <ArithOpType AOp, CompareOpType CmpOp>
struct ArithHelperF32 {};
template <CompareOpType CmpOp> template <CompareOpType CmpOp>
struct ArithHelperF32<ArithOpType::Add, CmpOp> { struct ArithHelperF32<ArithOpType::Add, CmpOp> {
static inline svbool_t static inline svbool_t