In this study, the gravitational octree code originally optimized for the Fermi, Kepler, and Maxwell GPU architectures is adapted to the Volta architecture. The Volta architecture introduces independent thread scheduling requiring either the insertion of the explicit synchronizations at appropriate locations or the enforcement of the same implicit synchronizations as do the Pascal or earlier architectures by specifying \texttt{-gencode arch=compute\_60,code=sm\_70}. The performance measurements on Tesla V100, the current flagship GPU by NVIDIA, revealed that the $N$-body simulations of the Andromeda galaxy model with $2^{23} = 8388608$ particles took $3.8 \times 10^{-2}$~s or $3.3 \times 10^{-2}$~s per step for each case. Tesla V100 achieves a 1.4 to 2.2-fold acceleration in comparison with Tesla P100, the flagship GPU in the previous generation. The observed speed-up of 2.2 is greater than 1.5, which is the ratio of the theoretical peak performance of the two GPUs. The independence of the units for integer operations from those for floating-point number operations enables the overlapped execution of integer and floating-point number operations. It hides the execution time of the integer operations leading to the speed-up rate above the theoretical peak performance ratio. Tesla V100 can execute $N$-body simulation with up to $25 \times 2^{20} = 26214400$ particles, and it took $2.0 \times 10^{-1}$~s per step. It corresponds to $3.5$~TFlop/s, which is 22\% of the single-precision theoretical peak performance.
翻译:在这次研究中, Fermi、 Kepler 和 Maxwell GPU 结构最初优化的引力奥克特里代码最初为 Fermi、 Kepler 和 Maxwell GPU 结构优化了。 Volta 结构引入了独立的线程列表, 要求在适当地点插入明确的同步, 或者执行与 Pascal 或更早期结构相同的隐含同步, 具体指定\ texttt{ gencode argude=comute ⁇ 60, code=sm ⁇ 70} 。 Tesla V100 的性能测量值比Tesla P100 峰值的当前旗舰GPU, 显示安卓玛达星系模型2 23} = 8388608 粒子在适当地点插入明确的同步同步, 或者执行Pascal 10\ 2 或 3\ texcol 的同步。 Tesla V100 最高性能比 Tesla P100 高1美元, 。 最高GPO 的运行量 和最高性平级执行量 的运行量 的运行比 20 20 和最高执行量。 最高操作比 最高操作比 最高执行级的运行值要高。