blob: 3e42e8476fd177828eba535ce7ee01ab470aa740 [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/params.h>
12#include <xnnpack/common.h>
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18
19#define DECLARE_X32_UNPOOL_UKERNEL_FUNCTION(fn_name) \
20 XNN_INTERNAL void fn_name( \
21 size_t p, \
22 size_t c, \
23 uint32_t f, \
24 const uint32_t* input, \
25 const uint32_t* index, \
26 uint32_t** output);
27
Marat Dukhan57dccd82020-04-14 00:53:10 -070028DECLARE_X32_UNPOOL_UKERNEL_FUNCTION(xnn_x32_unpool_ukernel__neon)
29DECLARE_X32_UNPOOL_UKERNEL_FUNCTION(xnn_x32_unpool_ukernel__sse2)
XNNPACK Teamb455b122019-09-27 18:10:33 -070030DECLARE_X32_UNPOOL_UKERNEL_FUNCTION(xnn_x32_unpool_ukernel__psimd)
31DECLARE_X32_UNPOOL_UKERNEL_FUNCTION(xnn_x32_unpool_ukernel__scalar)
32
33
34#ifdef __cplusplus
Marat Dukhan80fc9322019-09-29 21:06:36 -070035} // extern "C"
XNNPACK Teamb455b122019-09-27 18:10:33 -070036#endif