Affiliation:
1. Faculty of Computer Science, West Pomeranian University of Technology, Zolnierska 49, 72210 Szczecin, Poland
Abstract
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.
Reference41 articles.
1. Verdoolaege, S. (2024, January 11). Integer Set Library—Manual. Available online: www.kotnet.org/~skimo//isl/manual.pdf.
2. Bielecki, W., and Palkowski, M. (2024, January 11). A Parallelizing and Optimizing Compiler—TRACO. Available online: http://traco.sourceforge.net.
3. Malyshkin, V. (2021). Parallel Computing Technologies, Springer.
4. Bondhugula, U., Hartono, A., Ramanujam, J., and Sadayappan, P. (2008, January 7–13). A practical automatic polyhedral parallelizer and locality optimizer. Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation, Tucson, AZ, USA.
5. OpenMP Architecture Review Board (2023, October 22). OpenMP Application Program Interface Version 5.2. Available online: https://www.openmp.org/specifications.