← News

Agents & MCPSources: arXiv · 17 Nov 2026

Study tests how well LLM agents write task-parallel C++ across four runtimes

An arXiv paper reports that five locally hosted open-weight models varied widely when an agentic workflow had them implement seven HPC kernels in OpenMP Tasking, HPX, StarPU and TTG.

In plain words

Researchers asked AI coding agents to write C++ programs that split work into cooperating tasks, a style used in high-performance computing. The agents had to edit files, compile and run their code until it matched a reference result. Success depended mostly on which model was used, and some code that looked parallel actually ran on one core.

What was announced

The study, published as an arXiv abstract, used an agentic workflow rather than single one-shot prompts: the model edits files, compiles and runs its kernels until it reproduces a reference output. Five locally hosted open-weight LLMs implemented seven HPC kernels, including matrix multiplication, Cholesky and LU factorization, in OpenMP Tasking, HPX, StarPU and TTG, plus a serial baseline. Each kernel was checked independently for correctness at every concurrency level, strong scaling and peak memory.

Model capability dominated the outcome, the authors report. Three models produced correct, genuinely task-parallel kernels in 57-82% of cases, while two rarely compiled their own code and almost never succeeded. For the capable models, OpenMP Tasking and HPX were handled most reliably, StarPU was close behind and TTG trailed. The best generated GEMM and factorization kernels matched or exceeded the multithreaded OpenBLAS/LAPACK reference. The authors caution that correctness overstates parallel quality: several "parallel" kernels contained no parallelism at all, and serialized task graphs and unsuitable task granularity remained common.

What it does not show

  • The evidence is the paper's abstract only; full methodology, benchmarks and results are not available in the supplied passage.
  • The abstract does not name the five models, the concurrency levels tested, or the hardware, so results cannot be tied to specific systems.
  • Success rates come from the authors' own evaluation and have not been independently confirmed.

For security and IT teams

Scope
The findings cover five locally hosted open-weight LLMs writing C++ for four task-based runtimes in an HPC kernel setting, not general production code generation.

Sources

Source-support review completed 28 Nov 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.

Coverage: arXiv: abstract.

Updates and corrections

No corrections so far.

First published 28 Nov 2026

New to the subject? AI from the Ground Up starts from the beginning.