paper-with-me

Papers

Evaluation of OpenAI Codex for HPC Parallel Programming Models Kernel Generation

2023-06-27 · William F. Godoy, Pedro Valero-Lara, Keita Teranishi, Prasanna Balaprakash, Jeffrey S. Vetter

We evaluate AI-assisted generative capabilities on fundamental numerical kernels in high-performance computing (HPC), including AXPY, GEMV, GEMM, SpMV, Jacobi Stencil, and CG. We test the generated kernel codes for a variety of language-supported programming models, including (1) C++ (e.g., OpenMP [including offload], OpenACC, Kokkos, SyCL, CUDA, and HIP), (2) Fortran (e.g., OpenMP [including offload] and OpenACC), (3) Python (e.g., numba, Numba, cuPy, and pyCUDA), and (4) Julia (e.g., Threads, CUDA.jl, AMDGPU.jl, and KernelAbstractions.jl). We use the GitHub Copilot capabilities powered by OpenAI Codex available in Visual Studio Code as of April 2023 to generate a vast amount of implementations given simple <kernel> + <programming model> + <optional hints> prompt variants. To quantify and compare the results, we propose a proficiency metric around the initial 10 suggestions given for each prompt. Results suggest that the OpenAI Codex outputs for C++ correlate with the adoption and maturity of programming models. For example, OpenMP and CUDA score really high, whereas HIP is still lacking. We found that prompts from either a targeted language such as Fortran or the more general-purpose Python can benefit from adding code keywords, while Julia prompts perform acceptably well for its mature programming models (e.g., Threads and CUDA.jl). We expect for these benchmarks to provide a point of reference for each programming model's community. Overall, understanding the convergence of large language models, AI, and HPC is crucial due to its rapidly evolving nature and how it is redefining human-computer interactions.

📄 PDF Abstract BibTeX arXiv:2306.15121

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

ParaCodex: A Profiling-Guided Autonomous Coding Agent for Reliable Parallel Code Generation and Translation

2026-01-07 · Erel Kaplan, Tomer Bitan, Lian Ghrayeb, Le Chen 외 arxiv

Parallel programming is central to HPC and AI, but producing code that is correct and fast remains challenging, especially for OpenMP GPU offload, where data movement and tuning dominate. Autonomous coding agents can com…

Code Generation

Comparing Llama-2 and GPT-3 LLMs for HPC kernels generation

2023-09-12 · Pedro Valero-Lara, Alexis Huante, Mustafa Al Lail, William F. Godoy 외

We evaluate the use of the open-source Llama-2 model for generating well-known, high-performance computing kernels (e.g., AXPY, GEMV, GEMM) on different parallel programming models and languages (e.g., C++: OpenMP, OpenM…

Automatic Generation of Programming Exercises and Code Explanations using Large Language Models

2022-06-03 · Sami Sarsa, Paul Denny, Arto Hellas, Juho Leinonen

This article explores the natural language generation capabilities of large language models with application to the production of two types of learning resources common in programming courses. Using OpenAI Codex as the l…

Language ModelingLanguage ModellingLarge Language ModelText Generation

Benchmarks for Trajectory Safety Evaluation and Diagnosis in OpenClaw and Codex: ATBench-Claw and ATBench-Codex

2026-04-16 · Zhonghao Yang, Yu Li, Yanxu Zhu, Tianyi Zhou 외 arxiv

As agent systems move into increasingly diverse execution settings, trajectory-level safety evaluation and diagnosis require benchmarks that evolve with them. ATBench is a diverse and realistic agent trajectory benchmark…

Fully Autonomous Programming with Large Language Models

2023-04-20 · Vadim Liventsev, Anastasiia Grishina, Aki Härmä, Leon Moonen

Current approaches to program synthesis with Large Language Models (LLMs) exhibit a "near miss syndrome": they tend to generate programs that semantically resemble the correct answer (as measured by text similarity metri…

Program RepairProgram Synthesistext similarity