GPUCoder MEX build (linux)

3 views (last 30 days)
Patrick Chad Ablig
Patrick Chad Ablig on 26 Sep 2019
Answered: Yogesh Khurana on 17 Oct 2019
Hi,
I'm trying to generate a cuda code using the GPUCoder but somehow I'm getting this error while building the MEX. Can anyone please help? Thanks.

Answers (1)

Yogesh Khurana
Yogesh Khurana on 17 Oct 2019
Hi,
The error is not fully shown. Please provide full error. Also, there are chances that it can be due to some linking problem of NVIDIA build tools to the path in which MATLAB is executing codegen. You can try using the following command for setting the path of NVIDIA’s build-in tools:
hSetupForNvccGPU
After running the command try performing codegen operation again.
Hope this helps!

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!