blob: a42259d9d33085400492bef51fb0076f174a8353 [file] [log] [blame]
XNNPACK Teamb455b122019-09-27 18:10:33 -07001// Copyright 2019 Google LLC
2//
3// This source code is licensed under the BSD-style license found in the
4// LICENSE file in the root directory of this source tree.
5
6#pragma once
7
8#include <stddef.h>
9#include <stdint.h>
10
11#include <xnnpack/common.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17
18#define DECLARE_X32_PACKX_UKERNEL_FUNCTION(fn_name) \
19 XNN_INTERNAL void fn_name( \
20 size_t m, \
21 size_t k, \
22 const uint32_t* x, \
23 size_t x_stride, \
24 uint32_t* y);
25
26DECLARE_X32_PACKX_UKERNEL_FUNCTION(xnn_x32_packx_ukernel_2x__scalar)
27DECLARE_X32_PACKX_UKERNEL_FUNCTION(xnn_x32_packx_ukernel_3x__scalar)
28DECLARE_X32_PACKX_UKERNEL_FUNCTION(xnn_x32_packx_ukernel_4x__neon_st4)
29DECLARE_X32_PACKX_UKERNEL_FUNCTION(xnn_x32_packx_ukernel_4x__psimd)
30DECLARE_X32_PACKX_UKERNEL_FUNCTION(xnn_x32_packx_ukernel_4x__scalar)
31DECLARE_X32_PACKX_UKERNEL_FUNCTION(xnn_x32_packx_ukernel_4x__sse)
32
33
34#ifdef __cplusplus
Marat Dukhan80fc9322019-09-29 21:06:36 -070035} // extern "C"
XNNPACK Teamb455b122019-09-27 18:10:33 -070036#endif