Home
last modified time | relevance | path

Searched refs:totalWeightSize (Results 1 – 3 of 3) sorted by relevance

/dports/misc/mnn/MNN-1.2.0/source/backend/opengl/
H A DGLConvolutionIm2col.cpp27 …auto totalWeightSize = ALIGN_UP4(mCommon->outputCount()) * ALIGN_UP4(mInputDepth) * (mCommon->kern… in GLConvolutionIm2col() local
29 …o mKernelBuffer = std::shared_ptr<GLSSBOBuffer>(new GLSSBOBuffer(sizeof(float) * totalWeightSize)); in GLConvolutionIm2col()
37 ::memset(dest, 0, totalWeightSize * sizeof(float)); in GLConvolutionIm2col()
H A DGLConvolution.cpp58 auto totalWeightSize = in GLConvolution() local
71 …o mKernelBuffer = std::shared_ptr<GLSSBOBuffer>(new GLSSBOBuffer(sizeof(float) * totalWeightSize)); in GLConvolution()
/dports/misc/mnn/MNN-1.2.0/source/backend/vulkan/execution/
H A DVulkanConvolution.cpp28 …auto totalWeightSize = ALIGN_UP4(mCommon->outputCount()) * (mCommon->kernelY() * mCommon->kernelX(… in _createBufferForConvDepthwise() local
29 …:make_shared<VulkanBuffer>(extra->getMemoryPool(), false, sizeof(float) * totalWeightSize, nullptr, in _createBufferForConvDepthwise()