It is a simple code to calculate the theoretical GPU FLOPS.
The source of main.cpp
is from zhao-yong-ke-45 [in chinese]
git clone https://github.com/xp-ji/calc_peak_gflops.git
cd calc_peak_gflops
mkdir build && cd build
cmake ..
make
./calc_peak_gflops