blob: 2f60bcdea4f1c3bd20899d9928c2730553b31f69 [file] [log] [blame]
// Copyright 2019 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#pragma once
#include <stddef.h>
#include <stdint.h>
#include <xnnpack/params.h>
#include <xnnpack/common.h>
#ifdef __cplusplus
extern "C" {
#endif
#define DECLARE_PAD_UKERNEL_FUNCTION(fn_name) \
XNN_INTERNAL void fn_name( \
size_t rows, \
size_t channels, \
size_t pre_padding, \
size_t post_padding, \
const void* input, \
size_t input_stride, \
void* output, \
size_t output_stride, \
const uint32_t fill_pattern);
DECLARE_PAD_UKERNEL_FUNCTION(xnn_xx_pad_ukernel__neon)
DECLARE_PAD_UKERNEL_FUNCTION(xnn_xx_pad_ukernel__wasmsimd)
DECLARE_PAD_UKERNEL_FUNCTION(xnn_xx_pad_ukernel__sse2)
DECLARE_PAD_UKERNEL_FUNCTION(xnn_xx_pad_ukernel__scalar)
#ifdef __cplusplus
} // extern "C"
#endif