GPUCoder MEX build (linux)
조회 수: 1 (최근 30일)
이전 댓글 표시
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/239852/image.png)
댓글 수: 0
답변 (1개)
Yogesh Khurana
2019년 10월 17일
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!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with GPU Coder에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!