Download PDFOpen PDF in browser

Evaluating the Use of ChatGPT for Parallel Programming with OpenACC

14 pagesPublished: March 21, 2024


Artificial intelligence (AI) applications are increasingly prevalent in various aspects of our daily lives. One such application is ChatGPT, which has garnered significant interest from professionals across different fields seeking to leverage AI for diverse purposes, in- cluding parallel programming. However, concerns have been raised regarding ChatGPT’s ability to generate correct and efficient code.
The objective of this study is to evaluate the effectiveness of ChatGPT (GPT-3.5), an advanced language model, for parallel programming using OpenACC. Parallel pro- gramming plays a crucial role in accelerating computationally intensive applications and improving overall performance. OpenACC, a parallel programming standard, enables de- velopers to harness the computational power of GPUs for application acceleration.
By conducting a series of experiments, we compare different approaches to parallel programming, with and without the assistance of ChatGPT. Key evaluation factors include execution performance, code quality, and user-friendliness.
The results suggest that integrating ChatGPT can positively impact the parallel pro- gramming process. However, limitations and challenges are identified, such as the need for proper parameter adjustment and reliance on training data utilized by ChatGPT. Sugges- tions for future research directions are provided to address the identified limitations and further enhance the integration of ChatGPT into the parallel programming workflow.

Keyphrases: ChatGPT, Education, evaluating, OpenACC, parallel programming

In: Ajay Bandi, Mohammad Hossain and Ying Jin (editors). Proceedings of 39th International Conference on Computers and Their Applications, vol 98, pages 1--14

BibTeX entry
  author    = {Evaldo Costa and Gabriel Silva},
  title     = {Evaluating the Use of ChatGPT for Parallel Programming with OpenACC},
  booktitle = {Proceedings of 39th International Conference on Computers and Their Applications},
  editor    = {Ajay Bandi and Mohammad Hossain and Ying Jin},
  series    = {EPiC Series in Computing},
  volume    = {98},
  pages     = {1--14},
  year      = {2024},
  publisher = {EasyChair},
  bibsource = {EasyChair,},
  issn      = {2398-7340},
  url       = {},
  doi       = {10.29007/1dr3}}
Download PDFOpen PDF in browser