mirror of https://github.com/alibaba/MNN.git
25 lines
651 B
Plaintext
25 lines
651 B
Plaintext
//
|
|
// ImageColumn.cuh
|
|
// MNN
|
|
//
|
|
// Created by MNN on 2021/01/10.
|
|
// Copyright © 2018, Alibaba Group Holding Limited
|
|
//
|
|
|
|
#ifndef IMAGE_COLUMN_CUH
|
|
#define IMAGE_COLUMN_CUH
|
|
|
|
#include "backend/cuda/core/runtime/CUDARuntime.hpp"
|
|
#include "TensorCoreGemm.cuh"
|
|
#include "backend/cuda/core/CUDABackend.hpp"
|
|
|
|
namespace MNN {
|
|
namespace CUDA {
|
|
|
|
void Im2ColMain(CUDARuntime* runtime, const MatMulParam* cpuMatlMul, const MatMulParam* gpuMatMul, const ConvolutionCommon::Im2ColParameter* cpuIm2Col, const ConvolutionCommon::Im2ColParameter* gpuIm2Col, const void* input_addr, __half* mIm2ColBuffer, int bytes);
|
|
|
|
} // namespace CUDA
|
|
} // namespace MNN
|
|
#endif
|
|
|