arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1604.02334cs.DCphysics.comp-ph
收藏

用图形处理器实现参数拟合和图像重建的实时的计算

Real-Time Computation of Parameter Fitting and Image Reconstruction Using Graphical Processing Units

Uldis Locans, Andreas Adelmann, Andreas Suter, Jannis Fischer, Werner Lustermann, Gunther Dissertori, Qiulin Wang

摘要:

近年来,图形处理器(GPU)已成为科学计算的有力工具。它们加速高度并行应用程序的潜力为更广泛的用户带来了高性能计算的能力。然而,对这些设备进行编程并将其集成到现有应用中仍然是一项具有挑战性的任务。在本文中,我们研究了GPU在两种不同应用中的潜力。第一个应用程序由Paul Scherrer Institut(PSI)创建,用于muSR(μ子自旋旋转,弛豫和共振)实验数据分析期间的参数拟合。第二个应用程序由ETH开发,用于PET(正电子发射断层扫描)图像重建和分析。对目前使用的应用程序进行了检查,以确定需要优化的算法部分。创建高效的GPU内核是为了允许应用程序使用GPU,以加速先前确定的部分。为了测量所实现的加速比,进行了基准测试。在这项工作中,我们专注于单GPU系统,以表明这些问题的实时的数据分析可以在不需要大型计算集群的情况下实现。结果表明,目前使用的参数拟合应用程序使用OpenMP在多个CPU内核上并行计算,通过使用GPU可以加速约40倍。加速可能会因问题的大小和复杂性而异。对于PET图像分析,与单核CPU实现相比,GPU版本获得的加速比大40倍以上。所取得的结果表明,它是可能的,以提高执行时间的数量级。

英文摘要:

In recent years graphical processing units (GPUs) have become a powerful tool in scientific computing. Their potential to speed up highly parallel applications brings the power of high performance computing to a wider range of users. However, programming these devices and integrating their use in existing applications is still a challenging task. In this paper we examined the potential of GPUs for two different applications. The first application, created at Paul Scherrer Institut (PSI), is used for parameter fitting during data analysis of muSR (muon spin rotation, relaxation and resonance) experiments. The second application, developed at ETH, is used for PET (Positron Emission Tomography) image reconstruction and analysis. Applications currently in use were examined to identify parts of the algorithms in need of optimization. Efficient GPU kernels were created in order to allow applications to use a GPU, to speed up the previously identified parts. Benchmarking tests were performed in order to measure the achieved speedup During this work, we focused on single GPU systems to show that real time data analysis of these problems can be achieved without the need for large computing clusters. The results show that the currently used application for parameter fitting, which uses OpenMP to parallelize calculations over multiple CPU cores, can be accelerated around 40 times through the use of a GPU. The speedup may vary depending on the size and complexity of the problem. For PET image analysis, the obtained speedups of the GPU version was more than x40 larger compared to a single core CPU implementation. The achieved results show that it is possible to improve the execution time by orders of magnitude.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑