Migrating CUDA to oneAPI: A Smith-Waterman Case Study

Autor: Costanzo, Manuel, Rucci, Enzo, Sanchez, Carlos Garcia, Naiouf, Marcelo, Prieto-Matias, Manuel
Rok vydání: 2022
Předmět:
Zdroj: In: Bioinformatics and Biomedical Engineering. IWBBIO 2022. Lecture Notes in Computer Science(), vol 13347. Springer, Cham (2022)
Druh dokumentu: Working Paper
DOI: 10.1007/978-3-031-07802-6_9
Popis: 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%).
Comment: Accepted in IWBBIO 2022
Databáze: arXiv