大气与环境光学学报, 2014, 9 (3): 237, 网络出版: 2014-06-03
自适应光学数值仿真成像在GPU上的实现
Numerical Simulation of Adaptive Optical Imaging on GPUs
自适应光学 成像 卷积 快速傅立叶变换 图形处理器 adaptive optics imaging convolution fast Fourier transformation graphic processing unit
摘要
在自适应光学(AO)系统中,成像是不可或缺的一部分。AO仿真系统中的探测器和哈特曼-夏克波前传感器的成 像过程一般用二维的离散卷积来计算,而通常它的数值算法用快速傅立叶变换(FFT)实现。但是随着矩阵维 数的增加,卷积的运算量会急剧增大,成为制约整个AO仿真效率的一个瓶颈。利用图形处理器(GPU)的强大计算能力,可以 使成像系统运行速度大幅提高。在NVIDIA Tesla C2050 GPU上,针对不同分辨率的图像,获得了相对于串行 程序5?24倍的加速比。
Abstract
In the adaptive optics(AO) system, imaging is a very important process. The imaging process of the detectors and Hartman-Shack wavefront sensor in the AO simulation system is calculated with two-dimensional discrete convolution, whose numerical algorithm can be implemented with fast Fourier transformation (FFT). With the increase of the matrix size, the computation of convolution increases dramatically, and becomes a bottleneck of the AO system. To solve the problem, convolution on graphic processing unit(GPU) was implemented, which is a powerful accelerator in modern high performance computers. By applying various optimizations, significant performance improvement is obtained. On the NVIDIA Tesla C2050 GPU, a speedup of 5 to 24 times compared to serial program on the CPU with different image sizes is achieved.
吴振华, 唐秋艳, 王中杰, 马文静, 龙国平, 李玉成. 自适应光学数值仿真成像在GPU上的实现[J]. 大气与环境光学学报, 2014, 9(3): 237. WU Zhen-hua, TANG Qiu-yan, WANG Zhong-jie, MA Wen-jing, LONG Guo-ping, LI Yu-cheng. Numerical Simulation of Adaptive Optical Imaging on GPUs[J]. Journal of Atmospheric and Environmental Optics, 2014, 9(3): 237.