From d1db73add65268ea61d68916d3a57fbab998099e Mon Sep 17 00:00:00 2001 From: RahulSudarMCW Date: Tue, 12 Nov 2024 18:02:21 +0530 Subject: [PATCH] Declare microkernel to use table header --- src/xnnpack/lut.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/xnnpack/lut.h b/src/xnnpack/lut.h index af6b67d92eb..a23944403e1 100644 --- a/src/xnnpack/lut.h +++ b/src/xnnpack/lut.h @@ -70,15 +70,14 @@ DECLARE_X8_LUT_UKERNEL_FUNCTION(xnn_x8_lut_ukernel__wasmsimd_u48) DECLARE_X8_LUT_UKERNEL_FUNCTION(xnn_x8_lut_ukernel__wasmsimd_u64) -#define DECLARE_U8_LUT32NORM_UKERNEL_FUNCTION(fn_name) \ +#define XNN_UKERNEL(arch_flags, fn_name, datatype) \ XNN_INTERNAL void fn_name( \ size_t n, \ const uint8_t* x, \ const uint32_t* t, \ uint8_t* y); - -DECLARE_U8_LUT32NORM_UKERNEL_FUNCTION(xnn_u8_lut32norm_ukernel__scalar) - +#include "u8-lut32norm/u8-lut32norm.h" +#undef XNN_UKERNEL #ifdef __cplusplus } // extern "C"