arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2203.11100cs.DCcs.PL
收藏

将CUDA迁移到oneAPI:Smith-Waterman案例研究

Migrating CUDA to oneAPI: A Smith-Waterman Case Study

Manuel Costanzo, Enzo Rucci, Carlos Garcia Sanchez, Marcelo Naiouf, Manuel Prieto-Matias

摘要:

为了应对与异构计算相关的编程挑战,英特尔最近推出了oneAPI,这是一种新的编程环境,允许使用数据并行C++(DPC++)语言开发的代码在不同的设备上运行,例如CPU,GPU,FPGA等。为了解决基于CUDA的遗留代码,oneAPI提供了一个兼容性工具(dpct),可以帮助迁移到DPC++。由于大量现有的基于CUDA的软件在生物信息学的背景下,本文介绍了我们的经验移植SW#db,一个著名的序列比对工具,DPC++使用dpct。从实验工作中,可以证明dpct对于SW#db代码迁移的有用性以及迁移的DPC++代码的跨GPU供应商、跨架构可移植性。此外,性能结果显示,迁移后的DPC++代码报告的效率与CUDA原生代码相似,甚至在某些测试中更高(约+5%)。

英文摘要:

To face the programming challenges related to heterogeneous computing, Intel recently introduced oneAPI, a new programming environment that allows code developed in Data Parallel C++ (DPC++) language to be run on different devices such as CPUs, GPUs, FPGAs, among others. To tackle CUDA-based legacy codes, oneAPI provides a compatibility tool (dpct) that facilitates the migration to DPC++. Due to the large amount of existing CUDA-based software in the bioinformatics context, this paper presents our experiences porting SW#db, a well-known sequence alignment tool, to DPC++ using dpct. From the experimental work, it was possible to prove the usefulness of dpct for SW#db code migration and the cross-GPU vendor, cross-architecture portability of the migrated DPC++ code. In addition, the performance results showed that the migrated DPC++ code reports similar efficiency rates to its CUDA-native counterpart or even better in some tests (approximately +5%).

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

↑