MATLAB Answers

GPUCoder MEX build (linux)

조회 수: 2(최근 30일)
Patrick Chad Ablig
Patrick Chad Ablig 26 Sep 2019
답변: Yogesh Khurana 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.

답변(1개)

Yogesh Khurana
Yogesh Khurana 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!

태그

Community Treasure Hunt

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

Start Hunting!

Translated by