EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

GPT-Driven Source-to-Source Transformation for Generating Compilable Parallel CUDA Code for Nussinov’s Algorithm

Marek Palkowski, Mateusz Gruzewski

Electronics · 24.01.2024 · 13 (3) · 488

DOI: 10.3390/electronics13030488 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Electronics, online erschienen am 24.01.2024. Verfasst von Marek Palkowski und 1 weiteren Autor:innen. Die Arbeit wurde bisher 10-mal zitiert (Crossref) und nennt 41 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Designing automatic optimizing compilers is an advanced engineering process requiring a great deal of expertise, programming, testing, and experimentation. Maintaining the approach and adapting it to evolving libraries and environments is a time-consuming effort. In recent years, OpenAI has presented the GPT model, which is designed for many fields like computer science, image processing, linguistics, and medicine. It also supports automatic programming and translation between programming languages, as well as human languages. This article will verify the usability of the commonly known LLM model, GPT, for the non-trivial NPDP Nussinov’s parallel algorithm code within the OpenMP standard to create a parallel equivalent of CUDA for NVIDIA graphics cards. The goal of this approach is to avoid creating any post-processing scripts and writing any lines of target code. To validate the output code, we compare the resulting arrays with the ones calculated by the optimized code for the CPU generated employing the polyhedral compilers. Finally, the code will be checked for scalability and performance. We will concentrate on assessing the capabilities of GPT, highlighting common challenges that can be refined during future learning processes. This will enhance code generation for various platforms by leveraging the outcomes from polyhedral optimizers.

Zitieren

APA

Palkowski, M., & Gruzewski, M. (2024). GPT-Driven Source-to-Source Transformation for Generating Compilable Parallel CUDA Code for Nussinov’s Algorithm. Electronics, 13(3), 488. https://doi.org/10.3390/electronics13030488

Vancouver

Palkowski M, Gruzewski M. GPT-Driven Source-to-Source Transformation for Generating Compilable Parallel CUDA Code for Nussinov’s Algorithm. Electronics. 2024;13(3):488. doi:10.3390/electronics13030488

BibTeX
@article{Palkowski2024,
  author = {Palkowski, Marek and Gruzewski, Mateusz},
  title = {GPT-Driven Source-to-Source Transformation for Generating Compilable Parallel CUDA Code for Nussinov’s Algorithm},
  journal = {Electronics},
  year = {2024},
  volume = {13},
  number = {3},
  pages = {488},
  doi = {10.3390/electronics13030488}
}
Kostenlos starten →