From Prompts to Performance: Evaluating LLMs for Task-based Parallel Code Generation

Linus Bantel, Moritz Strack, Alexander Strack, Dirk Pflüger
2/24/2026
cs.PLcs.AIcs.DC

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Large Language Models (LLM) show strong abilities in code generation, but their skill in creating efficient parallel programs is less studied. This paper explores how LLMs generate task-based parallel code from three kinds of input prompts: natural language problem descriptions, sequential reference implementations, and parallel pseudo code. We focus on three programming frameworks: OpenMP Tasking, C++ standard parallelism, and the asynchronous many-task runtime HPX. Each framework offers different levels of abstraction and control for task execution. We evaluate LLM-generated solutions for correctness and scalability. Our results reveal both strengths and weaknesses of LLMs with regard to problem complexity and framework. Finally, we discuss what these findings mean for future LLM-assisted development in high-performance and scientific computing.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{bantel2026from,
  title  = {From Prompts to Performance: Evaluating LLMs for Task-based Parallel Code Generation},
  author = {Linus Bantel and Moritz Strack and Alexander Strack and Dirk Pflüger},
  year   = {2026},
  eprint = {2602.22240},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.22240v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.22240.svg)](https://codeofpaper.com/paper/2602.22240)

Discussion