MEX build failed in GPU coder
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/507023/image.png)
I am new with the GPU coder. when I was trying to build a GPU code for the above function (rotate_image), I was getting this error message. This was just a trial function . So please help me. Thank you
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/507153/image.png)
I tried matlab document's mandelbrot code also. When I was trying for the GPU code, it was giving the same error. But when I tried for the CPU code, while testing MATLAB gave the correct output, whereas when I generate the MEX file it is giving the error as shown below.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/507158/image.png)
3 Kommentare
Gautam Chavali
am 1 Mär. 2021
Like, you just have to run this and paste the log you see on the command line,
codegen -config config.gpuCoder -args {inpImg} rotate_image -report
Antworten (0)
Siehe auch
Kategorien
Mehr zu MATLAB Coder finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!