mlsanityData to 7 Oct 2026

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

arXiv 2602.22240 ↗First posted 24 Feb 2026cs.PL cs.AI cs.DCcited by 0

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 8 of its 20 references that are in the map. First posted on arXiv 24 Feb 2026.

Builds on

8 of 20 references.

References · 8

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  4. 2024Can Large Language Models Write Parallel Code?cited by 36
  5. 2023Comparing Llama-2 and GPT-3 LLMs for HPC kernels generationcited by 30
  6. 2023Evaluation of OpenAI Codex for HPC Parallel Programming Models Kernel Generationcited by 22
  7. 2023AutoParLLM: GNN-guided Context Generation for Zero-Shot Code Parallelization using LLMscited by 5
  8. 2025LLM Benchmarking with LLaMA2: Evaluating Code Development Performance Across Multiple Programming Languagescited by 5

Built on by

Not cited yet.