CUDA MEX
Version 1.0.0.0 (2.64 KB) by
Haim Avron
Compile CUDA from within MATLAB!
Just write
cuda_mex filename.cu
and it is ready.
This small script modifies the files used by MATLAB to compile mex-functions within MATLAB so that CUDA is supported.
Once the script setup_cuda_mex.m is run you can just compile CUDA mex files with the function cuda_mex.m.
Only Win32 with Visual Studio is supported in the current version.
CUDA Toolkit and SDK required.
Cite As
Haim Avron (2024). CUDA MEX (https://www.mathworks.com/matlabcentral/fileexchange/25314-cuda-mex), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2007a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on GPU Computing in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
cuda_mex/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |