Is it Possible to create a DLL from a .m-file containing GPU-Code (R2015a)
Show older comments
I want to speed up my code using the Parallel computing toolbox. In the end I need a .dll file for further usage. I tried converting the code to c++ code but Matlab coder seems to dislike gpuArrays. The coder wont convert functions with gpuArray inputs. Is there a way to get c++ code or maybe even a dll out of matlab if gpu code is involved?
I know that one needs the matlab compiler for .dll generation but I dont know if it works together with GPU code.
Thanks in advance for your help
Answers (1)
Joss Knight
on 22 Jun 2016
0 votes
The answer is no, sorry. See http://www.mathworks.com/matlabcentral/answers/290084-does-the-matlab-coder-support-gpuarray.
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!