CPU + GPU Stress
Installation
# Install CPU Stress
sudo apt-get update
sudo apt-get insatll stress
# Ref: https://docs.nvidia.com/jetson/agx-thor-devkit/user-guide/0.1.0/setup_cuda.html
# ------------
# Install CUDA
sudo apt install nvidia-jetpack
## CUDA Path Configuration
echo "export PATH=/usr/local/cuda/bin:$PATH" >> ~/.bashrc
echo "export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc
source ~/.bashrc
# ------------
# Download GPU-Burn
cd ~/Desktop
git clone https://github.com/wilicc/gpu-burn.git
cd gpu-burn
## Edit two files before make
## Edit: gpu_burn-drv.cpp
template <class T> class GPU_Test {
public:
GPU_Test(int dev, bool doubles, bool tensors, const char *kernelFile)
...
// checkError(cuCtxCreate(&d_ctx, 0, d_dev));
CUctxCreateParams params = {0}; // Initialize params
checkError(cuCtxCreate(&d_ctx, ¶ms, 0, d_dev));
...
## Edit: Makefile
#COMPUTE ?= 50
#CUDA_VERSION ?= 11.8.0
COMPUTE ?= 110 # Thor
CUDA_VERSION ?= 13.0.48
### The CUDA_VERSION is mapped with
# nvcc --version
## nvcc: NVIDIA (R) Cuda compiler driver
## Copyright (c) 2005-2025 NVIDIA Corporation
## Built on Wed_Jul_16_07:31:19_PM_PDT_2025
## Cuda compilation tools, release 13.0, V13.0.48
## Build cuda_13.0.r13.0/compiler.36260728_0
make -j$(nproc)
Stress
Last updated