mirror of
https://github.com/opencv/opencv.git
synced 2026-07-26 13:53:03 +04:00
Clean up the Universal Intrinsic API.
This commit is contained in:
@@ -38,8 +38,8 @@ int main(int /*argc*/, char** /*argv*/)
|
||||
|
||||
printf("================== arithm check =================\n");
|
||||
v_uint8 a = vx_setall_u8(10);
|
||||
v_uint8 c = a + vx_setall_u8(45);
|
||||
printf("(vx_setall_u8(10) + vx_setall_u8(45)).get0() => %d\n", (int)c.get0());
|
||||
v_uint8 c = v_add(a, vx_setall_u8(45));
|
||||
printf("v_get0(vx_setall_u8(10) + vx_setall_u8(45)) => %d\n", (int)v_get0(c));
|
||||
#else
|
||||
printf("\nSIMD intrinsics are not available. Check compilation target and passed build options.\n");
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user