paper-with-me

Papers

Evaluating AI-generated code for C++, Fortran, Go, Java, Julia, Matlab, Python, R, and Rust

2024-05-21 · Patrick Diehl, Noujoud Nader, Steve Brandt, Hartmut Kaiser

This study evaluates the capabilities of ChatGPT versions 3.5 and 4 in generating code across a diverse range of programming languages. Our objective is to assess the effectiveness of these AI models for generating scientific programs. To this end, we asked ChatGPT to generate three distinct codes: a simple numerical integration, a conjugate gradient solver, and a parallel 1D stencil-based heat equation solver. The focus of our analysis was on the compilation, runtime performance, and accuracy of the codes. While both versions of ChatGPT successfully created codes that compiled and ran (with some help), some languages were easier for the AI to use than others (possibly because of the size of the training sets used). Parallel codes -- even the simple example we chose to study here -- also difficult for the AI to generate correctly.

📄 PDF Abstract BibTeX arXiv:2405.13101

Code (1)

diehlpkpapers/heat-ai 공식 구현

Tasks

Numerical Integration

Methods 이 논문이 사용한 방법론

Focus 설명 없음

Similar 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 외

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 var…

LLM & HPC:Benchmarking DeepSeek's Performance in High-Performance Computing Tasks

2025-03-15 · Noujoud Nader, Patrick Diehl, Steve Brandt, Hartmut Kaiser

Large Language Models (LLMs), such as GPT-4 and DeepSeek, have been applied to a wide range of domains in software engineering. However, their potential in the context of High-Performance Computing (HPC) much remains to …

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…

Agnostics: Learning to Code in Any Programming Language via Reinforcement with a Universal Learning Environment

2025-08-06 · Aleksander Boruch-Gruszecki, Yangtian Zi, Zixuan Wu, Tejas Oberoi 외 arxiv

Large language models (LLMs) already excel at writing code in high-resource languages such as Python and JavaScript, yet stumble on low-resource languages that remain essential to science and engineering. Besides the obv…

Reinforcement Learning

QuranTree.jl: A Julia Package for Quranic Arabic Corpus

2021-04-01 · EACL (WANLP) 2021 4 · Al-Ahmadgaid Asaad

QuranTree.jl is an open-source package for working with the Quranic Arabic Corpus (Dukes and Habash, 2010). It aims to provide Julia APIs as an alternative to the Java APIs of JQuranTree. QuranTree.jl currently offers fu…

Transliteration