Error with codegen for Jetson Nano; issue with main.cu creation.
이전 댓글 표시
I am able to connect to the Jetson Nano (Developers Kit) and retrieve an image to display on host computer:
Problem comes when trying to run this example:
Wrote the liveCapture.m and the "codegen" step fails with:
??? codegen\exe\liveCapture\examples\main.cu specified in custom source
files string does not exist in any of the following search directories:
C:\Users\charl\Documents\MATLAB\Jetson\codegen\exe\liveCapture\examples
C:\Users\charl\Documents\MATLAB\Jetson\codegen\exe\liveCapture\examples\codegen\exe\liveCapture
C:\Users\charl\Documents\MATLAB\Jetson\codegen\exe\liveCapture\examples\codegen\exe\liveCapture\examples
C:\Users\charl\Documents\MATLAB\Jetson\codegen\exe\liveCapture\examples
Code generation failed: View Error Report
Error using codegen
Error in Code2Jetson (line 16)
codegen -config cfg liveCapture
I have tried:
1) Running example as described without creating any main.cu
2) Putting in a blank "main.cu" into "codegen\exe\liveCapture\examples"
3) Putting in a populated "main.cu" into "codegen\exe\liveCapture\examples"
- Used this as a guide: https://www.mathworks.com/help//coder/ug/generate-and-modify-an-example-cc-main-function.html
- When the codegen step was run, and failed, the main.cu I wrote had been erased
All attempts produced same output error.
Addons Installed
GPU Coder Interface for Deep Learning Libraries
GPU Coder Support Package for NVIDIA GPUs
Compiler being used:
mex -setup
MEX configured to use 'Microsoft Visual C++ 2017 (C)' for C language compilation.
Environment variables and packages have been installed:
Compatible GPU : PASSED
CUDA Environment : PASSED
Runtime : PASSED
cuFFT : PASSED
cuSOLVER : PASSED
cuBLAS : PASSED
cuDNN Environment : PASSED
TensorRT Environment : PASSED
Basic Code Generation : PASSED
Basic Code Execution : PASSED
Deep Learning (TensorRT) Code Generation: PASSED
00007FF9EE15F6E8cuBLAS 10.2.0 but is linked against cuBLAS 10.1.0
00007FF9EE15F6E8cuBLAS 10.2.0 but is linked against cuBLAS 10.1.0
00007FF9EE15F6E8cuBLAS 10.2.0 but is linked against cuBLAS 10.1.0
Deep Learning (TensorRT) Code Execution: PASSED
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 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!