/** * \file dnn/src/cuda/diag/diag.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>#include <stdint.h>namespacemegdnn{namespacecuda{namespacediag{template<typenameT>voidexec_internal_to_vector(T*src,T*dst,ptrdiff_tstart,ptrdiff_tsize,ptrdiff_tstride_sum,ptrdiff_tdst_stride,cudaStream_tstream);template<typenameT>voidexec_internal_to_matrix(T*src,T*dst,ptrdiff_tstart,ptrdiff_tn,ptrdiff_tk,ptrdiff_tdst_stride0,ptrdiff_tdst_stride1,ptrdiff_tsrc_stride,cudaStream_tstream);}// namespace diag}// namespace cuda}// namespace megdnn// vim: syntax=cpp.doxygen foldmethod=marker foldmarker=f{{{,f}}}