Skip to content

Commit

Permalink
Declare microkernel to use table header
Browse files Browse the repository at this point in the history
  • Loading branch information
RahulSundarMCW committed Nov 12, 2024
1 parent fb85890 commit d1db73a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/xnnpack/lut.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d1db73a

Please sign in to comment.