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

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Bantel, Linus, Strack, Moritz, Strack, Alexander, Pflüger, Dirk
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866917294818459648
author Bantel, Linus
Strack, Moritz
Strack, Alexander
Pflüger, Dirk
author_facet Bantel, Linus
Strack, Moritz
Strack, Alexander
Pflüger, Dirk
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2602_22240
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle From Prompts to Performance: Evaluating LLMs for Task-based Parallel Code Generation
Bantel, Linus
Strack, Moritz
Strack, Alexander
Pflüger, Dirk
Programming Languages
Artificial Intelligence
Distributed, Parallel, and Cluster Computing
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.
title From Prompts to Performance: Evaluating LLMs for Task-based Parallel Code Generation
topic Programming Languages
Artificial Intelligence
Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2602.22240