/** * \file dnn/src/cuda/padding/padding.cuh * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or * implied. */#pragma once#include "cuda_runtime.h"#include "megdnn/basic_types.h"#include "src/common/opr_param_defs_enumv.cuh"#include "src/cuda/utils.cuh"namespacemegdnn{namespacecuda{namespacepadding{template<typenameT>voidpadding_forward_proxy(constTensorND&src,constTensorND&dst,size_toffsets[MEGDNN_MAX_NDIM*2],uint32_tmode,constfloat_tpadding_val,cudaStream_tstream);template<typenameT>voidpadding_backward_proxy(constTensorND&src,constTensorND&dst,size_toffsets[MEGDNN_MAX_NDIM*2],uint32_tmode,cudaStream_tstream);}// namespace padding}// namespace cuda}// namespace megdnn// vim: syntax=cuda.doxygen