I want to compile .cu code on my matlab 2015a using 'mexcuda' but i am getting errors as shown
1 次查看(过去 30 天)
显示 更早的评论
mexcuda -v -largeArrayDims mexGPUExample.cu
Undefined function or variable 'mexcuda'.
and
mex -v -largeArrayDims mexGPUExample.cu
Verbose mode is on.
No MEX options file identified; looking for an implicit selection.
Error using mex
No supported compiler or SDK was found. For options, visit
http://www.mathworks.com/support/compilers/R2015a/win64.html
i have parallel tool kit and compilers installed on my system .
2 个评论
Walter Roberson
2015-11-25
What do you get if you use
mex -setup
It appears as if you do not have a supported compiler installed in your system.
Which operating system version are you using?
采纳的回答
Edric Ellis
2015-11-25
The function mexcuda was introduced in R2015b. You'll need to follow the instructions in the R2015a documentation: http://www.mathworks.com/help/releases/R2015a/distcomp/run-mex-functions-containing-cuda-code.html#btrgjh3-1
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!