GPU CUDA convolution 2D 3D

버전 1.0.0.0 (74 KB) 작성자: Jason Klebes
matlab wrapper for CUDA 2D and 3D GPU-accelerated convolution
다운로드 수: 49
업데이트 날짜: 2023/6/21

C++/CUDA GPU-accelerated convolution in 2D and 3D. View GPU CUDA convolution 2D 3D on File Exchange

Based on NVIDIA cuda-samples convolutionFFT2D combined with matlab mexGPUexample.m.

I provide compiled .mexw64 files from a Windows 10 and compiled .mexa64 files from unix, which should run out of the box.
If this doesn't work for you due to different machine, a new mex compilation will be attempted and the NVIDIA CUDA toolbox - including an nvcc compiler, supported C++ compiler, and library cuFFT - must be installed.

Run functions CUDAconvolution(data, kernel) or CUDAconvolution3D(data, kernel) analogous to matlab conv2, convn.

The method is convolution by FFT, pointwise multiply, and inverse FFT.

This method is much faster in the case of medium to large kernels; outperforms matlab starting at kernel size ~12 x 12 x 12 and speedup is more than 1000x at convolution 900x900x200 with 100x100x100 kernel (test3d.mlx). Execution time should be constant and is <1s on my machine up to GPU memory limit.

Data should be the bigger array, as an array cut to original dimensions of data is returned.

인용 양식

Jason Klebes (2024). GPU CUDA convolution 2D 3D (https://github.com/jklebes/matlabCUDAconvolution/releases/tag/v1.0.0), GitHub. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2023a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

See release notes for this release on GitHub: https://github.com/jklebes/matlabCUDAconvolution/releases/tag/v1.0.0

0.0.5.0

See release notes for this release on GitHub: https://github.com/jklebes/matlabCUDAconvolution/releases/tag/v0.0.5

0.0.4.0

See release notes for this release on GitHub: https://github.com/jklebes/matlabCUDAconvolution/releases/tag/v0.0.4

0.0.3.0

See release notes for this release on GitHub: https://github.com/jklebes/matlabCUDAconvolution/releases/tag/v0.0.3

0.0.2.0

See release notes for this release on GitHub: https://github.com/jklebes/matlabCUDAconvolution/releases/tag/v0.0.2

0.0.1

이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.