MEX build failed in GPU coder
Show older comments

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

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.

3 Comments
Walter Roberson
on 2 Feb 2021
What does the build log show?
Ajnas Muhammed
on 2 Feb 2021
Edited: Ajnas Muhammed
on 2 Feb 2021
Gautam Chavali
on 1 Mar 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
Answers (0)
Categories
Find more on Get Started with GPU Coder in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!