/** * \file dnn/src/cuda/sliding_window_transpose/kernel.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_api.h>namespacemegdnn{namespacecuda{namespacesliding_window_transpose{template<typenameT>voidforward(constT*src,T*dst,intN,intC,intIH,intIW,intOH,intOW,intph,intpw,intsh,intsw,intdh,intdw,intwh,intww,cudaStream_tstream);template<typenameT>voidbackward(constT*diff,T*grad,intN,intC,intIH,intIW,intOH,intOW,intph,intpw,intsh,intsw,intdh,intdw,intwh,intww,cudaStream_tstream);}// namespace sliding_window_transpose}// namespace cuda}// namespace megdnn// vim: syntax=cpp.doxygen