From 95085f7c8cd426dae1f75a0dc962b11ce019356b Mon Sep 17 00:00:00 2001 From: RahulSudarMCW Date: Fri, 20 Dec 2024 13:45:45 +0530 Subject: [PATCH] Resolve check fails for ARM and AARCH64 --- src/f16-ibilinear/f16-ibilinear.h | 4 ++-- src/f32-ibilinear/f32-ibilinear.h | 16 ++++++++-------- src/s8-ibilinear/s8-ibilinear.h | 16 ++++++++-------- src/u8-ibilinear/u8-ibilinear.h | 16 ++++++++-------- 4 files changed, 26 insertions(+), 26 deletions(-) diff --git a/src/f16-ibilinear/f16-ibilinear.h b/src/f16-ibilinear/f16-ibilinear.h index e1e5ffc5cb8..73a8101cc22 100644 --- a/src/f16-ibilinear/f16-ibilinear.h +++ b/src/f16-ibilinear/f16-ibilinear.h @@ -16,8 +16,8 @@ #endif #if XNN_ENABLE_ARM_FP16_VECTOR && (XNN_ARCH_ARM || XNN_ARCH_ARM64) -XNN_UKERNEL_WITH_PARAMS(xnn_arch_arm, xnn_f16_ibilinear_ukernel__neonfp16arith_c8, 8, 1, xnn_float16, xnn_float16, struct xnn_f16_default_params, NULL) -XNN_UKERNEL_WITH_PARAMS(xnn_arch_arm, xnn_f16_ibilinear_ukernel__neonfp16arith_c16, 16, 1, xnn_float16, xnn_float16, struct xnn_f16_default_params, NULL) +XNN_UKERNEL_WITH_PARAMS(xnn_arch_arm_fp16_arith, xnn_f16_ibilinear_ukernel__neonfp16arith_c8, 8, 1, xnn_float16, xnn_float16, struct xnn_f16_default_params, NULL) +XNN_UKERNEL_WITH_PARAMS(xnn_arch_arm_fp16_arith, xnn_f16_ibilinear_ukernel__neonfp16arith_c16, 16, 1, xnn_float16, xnn_float16, struct xnn_f16_default_params, NULL) #endif // XNN_ENABLE_ARM_FP16_VECTOR && (XNN_ARCH_ARM || XNN_ARCH_ARM64) #if XNN_ARCH_X86 || XNN_ARCH_X86_64 diff --git a/src/f32-ibilinear/f32-ibilinear.h b/src/f32-ibilinear/f32-ibilinear.h index 9dc326e4a62..fa0a7db6583 100644 --- a/src/f32-ibilinear/f32-ibilinear.h +++ b/src/f32-ibilinear/f32-ibilinear.h @@ -22,20 +22,20 @@ XNN_UKERNEL_WITH_PARAMS(0, xnn_f32_ibilinear_ukernel__scalar_c4, 4, 1, float, fl #if (XNN_ARCH_ARM || XNN_ARCH_ARM64) XNN_UKERNEL_WITH_PARAMS(xnn_arch_arm_neon, xnn_f32_ibilinear_ukernel__neon_c4, 4, 1, float, float, struct xnn_f32_default_params, NULL) XNN_UKERNEL_WITH_PARAMS(xnn_arch_arm_neon, xnn_f32_ibilinear_ukernel__neon_c8, 8, 1, float, float, struct xnn_f32_default_params, NULL) -XNN_UKERNEL_WITH_PARAMS(xnn_arch_arm_neon, xnn_f32_ibilinear_ukernel__neonfma_c4, 4, 1, float, float, struct xnn_f32_default_params, NULL) -XNN_UKERNEL_WITH_PARAMS(xnn_arch_arm_neon, xnn_f32_ibilinear_ukernel__neonfma_c8, 8, 1, float, float, struct xnn_f32_default_params, NULL) +XNN_UKERNEL_WITH_PARAMS(xnn_arch_arm_neon_fma, xnn_f32_ibilinear_ukernel__neonfma_c4, 4, 1, float, float, struct xnn_f32_default_params, NULL) +XNN_UKERNEL_WITH_PARAMS(xnn_arch_arm_neon_fma, xnn_f32_ibilinear_ukernel__neonfma_c8, 8, 1, float, float, struct xnn_f32_default_params, NULL) #endif // XNN_ARCH_ARM || XNN_ARCH_ARM64 #if XNN_ARCH_X86 || XNN_ARCH_X86_64 -XNN_UKERNEL_WITH_PARAMS(XNN_ARCH_X86, xnn_f32_ibilinear_ukernel__sse_c4, 4, 1, float, float, struct xnn_f32_default_params, NULL) -XNN_UKERNEL_WITH_PARAMS(XNN_ARCH_X86, xnn_f32_ibilinear_ukernel__sse_c8, 8, 1, float, float, struct xnn_f32_default_params, NULL) +XNN_UKERNEL_WITH_PARAMS(0, xnn_f32_ibilinear_ukernel__sse_c4, 4, 1, float, float, struct xnn_f32_default_params, NULL) +XNN_UKERNEL_WITH_PARAMS(0, xnn_f32_ibilinear_ukernel__sse_c8, 8, 1, float, float, struct xnn_f32_default_params, NULL) #endif // XNN_ARCH_X86 || XNN_ARCH_X86_64 #if XNN_ARCH_WASMSIMD || XNN_ARCH_WASMRELAXEDSIMD -XNN_UKERNEL_WITH_PARAMS(XNN_ARCH_WASMSIMD, xnn_f32_ibilinear_ukernel__wasmsimd_c4, 4, 1, float, float, struct xnn_f32_default_params, NULL) -XNN_UKERNEL_WITH_PARAMS(XNN_ARCH_WASMSIMD, xnn_f32_ibilinear_ukernel__wasmsimd_c8, 8, 1, float, float, struct xnn_f32_default_params, NULL) -XNN_UKERNEL_WITH_PARAMS(XNN_ARCH_WASMSIMD, xnn_f32_ibilinear_ukernel__wasmrelaxedsimd_c4, 4, 1, float, float, struct xnn_f32_default_params, NULL) -XNN_UKERNEL_WITH_PARAMS(XNN_ARCH_WASMSIMD, xnn_f32_ibilinear_ukernel__wasmrelaxedsimd_c8, 8, 1, float, float, struct xnn_f32_default_params, NULL) +XNN_UKERNEL_WITH_PARAMS(0, xnn_f32_ibilinear_ukernel__wasmsimd_c4, 4, 1, float, float, struct xnn_f32_default_params, NULL) +XNN_UKERNEL_WITH_PARAMS(0, xnn_f32_ibilinear_ukernel__wasmsimd_c8, 8, 1, float, float, struct xnn_f32_default_params, NULL) +XNN_UKERNEL_WITH_PARAMS(0, xnn_f32_ibilinear_ukernel__wasmrelaxedsimd_c4, 4, 1, float, float, struct xnn_f32_default_params, NULL) +XNN_UKERNEL_WITH_PARAMS(0, xnn_f32_ibilinear_ukernel__wasmrelaxedsimd_c8, 8, 1, float, float, struct xnn_f32_default_params, NULL) #endif // XNN_ARCH_WASMSIMD || XNN_ARCH_WASMRELAXEDSIMD #ifdef XNN_DEFINED_UKERNEL_WITH_PARAMS diff --git a/src/s8-ibilinear/s8-ibilinear.h b/src/s8-ibilinear/s8-ibilinear.h index c9f16d5a237..6fa8e470210 100644 --- a/src/s8-ibilinear/s8-ibilinear.h +++ b/src/s8-ibilinear/s8-ibilinear.h @@ -25,17 +25,17 @@ XNN_UKERNEL_WITH_PARAMS(xnn_arch_arm_neon, xnn_s8_ibilinear_ukernel__neon_c16, 1 #endif // XNN_ARCH_ARM || XNN_ARCH_ARM64 #if XNN_ARCH_X86 || XNN_ARCH_X86_64 -XNN_UKERNEL_WITH_PARAMS(XNN_ARCH_X86, xnn_s8_ibilinear_ukernel__sse2_c8, 8, 1, int8_t, int16_t, struct xnn_s8_default_params, NULL) -XNN_UKERNEL_WITH_PARAMS(XNN_ARCH_X86, xnn_s8_ibilinear_ukernel__sse2_c16, 16, 1, int8_t, int16_t, struct xnn_s8_default_params, NULL) -XNN_UKERNEL_WITH_PARAMS(XNN_ARCH_X86, xnn_s8_ibilinear_ukernel__sse41_c8, 8, 1, int8_t, int16_t, struct xnn_s8_default_params, NULL) -XNN_UKERNEL_WITH_PARAMS(XNN_ARCH_X86, xnn_s8_ibilinear_ukernel__sse41_c16, 16, 1, int8_t, int16_t, struct xnn_s8_default_params, NULL) +XNN_UKERNEL_WITH_PARAMS(0, xnn_s8_ibilinear_ukernel__sse2_c8, 8, 1, int8_t, int16_t, struct xnn_s8_default_params, NULL) +XNN_UKERNEL_WITH_PARAMS(0, xnn_s8_ibilinear_ukernel__sse2_c16, 16, 1, int8_t, int16_t, struct xnn_s8_default_params, NULL) +XNN_UKERNEL_WITH_PARAMS(xnn_arch_x86_sse4_1, xnn_s8_ibilinear_ukernel__sse41_c8, 8, 1, int8_t, int16_t, struct xnn_s8_default_params, NULL) +XNN_UKERNEL_WITH_PARAMS(xnn_arch_x86_sse4_1, xnn_s8_ibilinear_ukernel__sse41_c16, 16, 1, int8_t, int16_t, struct xnn_s8_default_params, NULL) #endif // XNN_ARCH_X86 || XNN_ARCH_X86_64 #if XNN_ARCH_WASMSIMD || XNN_ARCH_WASMRELAXEDSIMD -XNN_UKERNEL_WITH_PARAMS(XNN_ARCH_WASMSIMD, xnn_s8_ibilinear_ukernel__wasmsimd_dot16x2_c8, 8, 1, int8_t, int16_t, struct xnn_s8_default_params, NULL) -XNN_UKERNEL_WITH_PARAMS(XNN_ARCH_WASMSIMD, xnn_s8_ibilinear_ukernel__wasmsimd_dot16x2_c16, 16, 1, int8_t, int16_t, struct xnn_s8_default_params, NULL) -XNN_UKERNEL_WITH_PARAMS(XNN_ARCH_WASMSIMD, xnn_s8_ibilinear_ukernel__wasmsimd_mul32_c8, 8, 1, int8_t, int16_t, struct xnn_s8_default_params, NULL) -XNN_UKERNEL_WITH_PARAMS(XNN_ARCH_WASMSIMD, xnn_s8_ibilinear_ukernel__wasmsimd_mul32_c16, 16, 1, int8_t, int16_t, struct xnn_s8_default_params, NULL) +XNN_UKERNEL_WITH_PARAMS(0, xnn_s8_ibilinear_ukernel__wasmsimd_dot16x2_c8, 8, 1, int8_t, int16_t, struct xnn_s8_default_params, NULL) +XNN_UKERNEL_WITH_PARAMS(0, xnn_s8_ibilinear_ukernel__wasmsimd_dot16x2_c16, 16, 1, int8_t, int16_t, struct xnn_s8_default_params, NULL) +XNN_UKERNEL_WITH_PARAMS(0, xnn_s8_ibilinear_ukernel__wasmsimd_mul32_c8, 8, 1, int8_t, int16_t, struct xnn_s8_default_params, NULL) +XNN_UKERNEL_WITH_PARAMS(0, xnn_s8_ibilinear_ukernel__wasmsimd_mul32_c16, 16, 1, int8_t, int16_t, struct xnn_s8_default_params, NULL) #endif // XNN_ARCH_WASMSIMD || XNN_ARCH_WASMRELAXEDSIMD #ifdef XNN_DEFINED_UKERNEL_WITH_PARAMS diff --git a/src/u8-ibilinear/u8-ibilinear.h b/src/u8-ibilinear/u8-ibilinear.h index df6f7747f13..e0ce346598b 100644 --- a/src/u8-ibilinear/u8-ibilinear.h +++ b/src/u8-ibilinear/u8-ibilinear.h @@ -25,17 +25,17 @@ XNN_UKERNEL_WITH_PARAMS(xnn_arch_arm_neon, xnn_u8_ibilinear_ukernel__neon_c16, 1 #endif // XNN_ARCH_ARM || XNN_ARCH_ARM64 #if XNN_ARCH_X86 || XNN_ARCH_X86_64 -XNN_UKERNEL_WITH_PARAMS(XNN_ARCH_X86, xnn_u8_ibilinear_ukernel__sse2_c8, 8, 1, uint8_t, int16_t, struct xnn_u8_default_params, NULL) -XNN_UKERNEL_WITH_PARAMS(XNN_ARCH_X86, xnn_u8_ibilinear_ukernel__sse2_c16, 16, 1, uint8_t, int16_t, struct xnn_u8_default_params, NULL) -XNN_UKERNEL_WITH_PARAMS(XNN_ARCH_X86, xnn_u8_ibilinear_ukernel__sse41_c8, 8, 1, uint8_t, int16_t, struct xnn_u8_default_params, NULL) -XNN_UKERNEL_WITH_PARAMS(XNN_ARCH_X86, xnn_u8_ibilinear_ukernel__sse41_c16, 16, 1, uint8_t, int16_t, struct xnn_u8_default_params, NULL) +XNN_UKERNEL_WITH_PARAMS(0, xnn_u8_ibilinear_ukernel__sse2_c8, 8, 1, uint8_t, int16_t, struct xnn_u8_default_params, NULL) +XNN_UKERNEL_WITH_PARAMS(0, xnn_u8_ibilinear_ukernel__sse2_c16, 16, 1, uint8_t, int16_t, struct xnn_u8_default_params, NULL) +XNN_UKERNEL_WITH_PARAMS(xnn_arch_x86_sse4_1, xnn_u8_ibilinear_ukernel__sse41_c8, 8, 1, uint8_t, int16_t, struct xnn_u8_default_params, NULL) +XNN_UKERNEL_WITH_PARAMS(xnn_arch_x86_sse4_1, xnn_u8_ibilinear_ukernel__sse41_c16, 16, 1, uint8_t, int16_t, struct xnn_u8_default_params, NULL) #endif // XNN_ARCH_X86 || XNN_ARCH_X86_64 #if XNN_ARCH_WASMSIMD || XNN_ARCH_WASMRELAXEDSIMD -XNN_UKERNEL_WITH_PARAMS(XNN_ARCH_WASMSIMD, xnn_u8_ibilinear_ukernel__wasmsimd_dot16x2_c8, 8, 1, uint8_t, int16_t, struct xnn_u8_default_params, NULL) -XNN_UKERNEL_WITH_PARAMS(XNN_ARCH_WASMSIMD, xnn_u8_ibilinear_ukernel__wasmsimd_dot16x2_c16, 16, 1, uint8_t, int16_t, struct xnn_u8_default_params, NULL) -XNN_UKERNEL_WITH_PARAMS(XNN_ARCH_WASMSIMD, xnn_u8_ibilinear_ukernel__wasmsimd_mul32_c8, 8, 1, uint8_t, int16_t, struct xnn_u8_default_params, NULL) -XNN_UKERNEL_WITH_PARAMS(XNN_ARCH_WASMSIMD, xnn_u8_ibilinear_ukernel__wasmsimd_mul32_c16, 16, 1, uint8_t, int16_t, struct xnn_u8_default_params, NULL) +XNN_UKERNEL_WITH_PARAMS(0, xnn_u8_ibilinear_ukernel__wasmsimd_dot16x2_c8, 8, 1, uint8_t, int16_t, struct xnn_u8_default_params, NULL) +XNN_UKERNEL_WITH_PARAMS(0, xnn_u8_ibilinear_ukernel__wasmsimd_dot16x2_c16, 16, 1, uint8_t, int16_t, struct xnn_u8_default_params, NULL) +XNN_UKERNEL_WITH_PARAMS(0, xnn_u8_ibilinear_ukernel__wasmsimd_mul32_c8, 8, 1, uint8_t, int16_t, struct xnn_u8_default_params, NULL) +XNN_UKERNEL_WITH_PARAMS(0, xnn_u8_ibilinear_ukernel__wasmsimd_mul32_c16, 16, 1, uint8_t, int16_t, struct xnn_u8_default_params, NULL) #endif // XNN_ARCH_WASMSIMD || XNN_ARCH_WASMRELAXEDSIMD #ifdef XNN_DEFINED_UKERNEL_WITH_PARAMS