GPU Coder Main File

조회 수: 1 (최근 30일)
Ahmed Tamer
Ahmed Tamer 2023년 11월 20일
댓글: Ahmed Tamer 2023년 11월 24일
Hello, I am currently trying to deploy some codes from MATLAB to Jetson Nano Developer Kit, I am using GPU Coder Application, however; I am encountering a very serious issue right here. I tried working with some basic codes firstly, addition or anything, It works perfectly because the matlab example has a main.cu file attached with it, which should be easy to use. Basically the main.cu is a code that allows me to enter the point function, now.
What I am actually going to deploy to JETSON in reality is
  • Camera Fusion with Lidar Function
How am I going to write that main.cu file now? Can someone help me that if any application takes the matlab function and generates the main.cu file?

채택된 답변

Ram Kokku
Ram Kokku 2023년 11월 20일
Hi Ahmed,
The NVIDIA hardware support package provides functionality for accessing various I/O devices, including cameras and Velodyne LiDAR. You can refer to the examples listed below to write MATLAB code for your I/O and generate code using GPU Coder.
  댓글 수: 4
Ahmed Tamer
Ahmed Tamer 2023년 11월 20일
Yes I do get it, however my main issue still persists. I do need a main.cu code for each function that I generate an excutable for, look here at this step, I have got to have the main.cu file. For this example, myAdd function, the main.cu was attached to the example.
Now, for the own function of mine, how am I going to create a main.cu file so I can attach it?
Ahmed Tamer
Ahmed Tamer 2023년 11월 24일
I fixed it. Thanks

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with GPU Coder에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by