Simple repository comparing the Raspberry Pi 4, Raspberry Pi IO Board compute module and the NVIDIA Jetson Nano.
Tests for RPI's and Jetson Nano:
Tools used and needed:
std::chrono
for naive time loggingLogic/algorithms implemented
For running on bare system:
# compile
$ make compile
# install binary to /usr/bin
$ make install
# uninstall
$ make uninstall
Otherwise, use Docker...
# create docker image
$ make docker_img
# run
$ make docker_run
$ ./benchsys
Usage: benchsys [-d | -b cpu | gpu ]
-d : daemon mode to monitor system information
-b : benchmark mode to run system stress tests with live monitoring
cpu - run CPU-based benchmarks
gpu - run GPU-based benchmarks
$ wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/sbsa/cuda-keyring_1.1-1_all.deb
$ sudo dpkg -i cuda-keyring_1.1-1_all.deb
$ sudo apt-get update
$ sudo apt-get -y install cuda-toolkit-12-3
$ sudo apt-get install -y cuda-drivers
$ sudo apt-get install -y nvidia-kernel-open-545
$ sudo apt-get install -y cuda-drivers-545
See here: https://docs.nvidia.com/cuda/cuda-installation-guide-linux/#switching-between-driver-module-flavors