1 #pragma once 2 3 #include <stddef.h> 4 5 #include <xnnpack/params.h> 6 #include <xnnpack/common.h> 7 8 #ifdef __cplusplus 9 extern "C" { 10 #endif 11 12 13 #define DECLARE_F32_VSCALE_UKERNEL_FUNCTION(fn_name) \ 14 XNN_INTERNAL void fn_name( \ 15 size_t n, \ 16 const float* x, \ 17 float* y, \ 18 float c); 19 20 DECLARE_F32_VSCALE_UKERNEL_FUNCTION(xnn_f32_vscale_ukernel__avx_x32) 21 DECLARE_F32_VSCALE_UKERNEL_FUNCTION(xnn_f32_vscale_ukernel__avx512f_x64) 22 23 24 #ifdef __cplusplus 25 } /* extern "C" */ 26 #endif 27