Tool for printing out information from NVIDIA GPUs. It is based on accessing the QMD/TMD structs, as done by Joshua Bakita as a tiny component in his SM partitioning work (https://www.cs.unc.edu/~jbakita/rtas23-ae/). However, many fields seem to be unused.
Reference the QMD/TMD struct chart found here: https://nvidia.github.io/open-gpu-doc/classes/compute/clc7c0qmd.h
Supported by CUDA 11+
/usr/local/cuda/bin/nvcc start.cu -lcuda -I/usr/local/cuda/include -ldl -o start
/usr/local/cuda/bin/nvcc vecAdd.cu -lcuda -I/usr/local/cuda/include -ldl -o vecAdd
#define NVC7C0_QMDV02_03_SHARED_MEMORY_SIZE MW(561:544)
./start
Starting bit number: 544
Field size: 18