vendor: OpenCV 5.0.0 snapshot at 40738fb16ceddb5fb3fea747585f7ce6abb0605b

This commit is contained in:
Gitea Mirror Bot
2026-08-22 00:10:33 +08:00
commit f7f077da11
6933 changed files with 2335208 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
#include <stdio.h>
#if defined(__ARM_FEATURE_SVE)
# include <arm_sve.h>
# define CV_SVE 1
#endif
#if defined(CV_SVE)
int test()
{
const float src[1024] = {0.0};
svbool_t pg = svptrue_b32();
svfloat32_t val = svld1(pg, src);
return (int)svlastb_f32(pg, val);
}
#else
#error "SVE is not supported"
#endif
int main()
{
printf("%d\n", test());
return 0;
}