Skip to content

Latest commit

 

History

History
59 lines (45 loc) · 1.75 KB

5_demos.md

File metadata and controls

59 lines (45 loc) · 1.75 KB

CUDA and vision demos

There are two sets of demos from cuda and few more from jetson inference First we will see the demos from cuda and then the demos from jetson inference

## CUDA Demos

The first set of demos are from the CUDA toolkit. These are the demos that are included with the CUDA toolkit. They are located in the NVIDIA_CUDA-10.0_Samples directory. The demos are located in the 0_Simple directory. The demos are compiled using the make

Locate the demos in the /usr/local/cuda folder, there will be a file called install-cuda*.sh copy ths to the sd

cd /usr/local/cuda/bin
./cuda-install-samples-10.2.sh /media/sdcard

to run the demos

cd /media/sdcard/NVIDIA_CUDA-10.2_Samples
make -j4

or go the each demo and run make

cd /media/sdcard/NVIDIA_CUDA-10.2_Samples/5_Simulations/nbody
make -j4

run the demos using by

./nbody

## vision demos

The second set of demos are from the vision toolkit. These are the demos that are included with the vision toolkit. They are located in the NVIDIA_VisionWorks-1.6-Samples directory. The demos are located in the samples directory. The demos are compiled using the cmake

Locate the demos in the /usr/local/visionworks folder, there will be a file called install-samples.sh copy ths to the sd

cd /usr/local/visionworks/sources
./install-samples.sh /media/sdcard

if the path does not exist, you can run the following command to install the samples

sudo apt-get install nvidia-visionworks-samples

then follow the steps below to run the demos

cd /usr/share/visionworks/sources
./install-samples.sh /media/sdcard

to run the demos

cd /media/sdcard/VisionWorks-1.6-Samples/bin/aarch64/linux
./nvx_demo_feature_tracker