GPU Coder Main File

1 view (last 30 days)
Ahmed Tamer
Ahmed Tamer on 20 Nov 2023
Commented: Ahmed Tamer on 24 Nov 2023
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?

Accepted Answer

Ram Kokku
Ram Kokku on 20 Nov 2023
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 Comments
Ahmed Tamer
Ahmed Tamer on 20 Nov 2023
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 on 24 Nov 2023
I fixed it. Thanks

Sign in to comment.

More Answers (0)

Categories

Find more on Get Started with GPU Coder in Help Center and File Exchange

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!