Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

Offloading Rust To GPUs Proves Capable Of High Performance With Memory Safety

Дата публикации: 17-08-2026 19:30:16

A new research paper published on LLVM offloading to GPU accelerators using the Rust programming language is talking up the prospects of making use of safe Rust code for GPU kernels while retaining Rust's memory safety and other advantages over C++ / CUDA / HIP...

Основное содержимое страницы с новостью.

PROGRAMMING

A new research paper published on LLVM offloading to GPU accelerators using the Rust programming language is talking up the prospects of making use of safe Rust code for GPU kernels while retaining Rust's memory safety and other advantages over C++ / CUDA / HIP.

The research paper by Manuel S. Drehwald, Marcelo Domínguez, Kevin Sala, Alán Aspuru-Guzik, and Johannes Doerfert finds that using LLVM's Offload infrastructure and the characteristics of the Rust programming language can still lead to competitive performance against native, hand-optimized CUDA and HIP C++ kernels. All of this resides within the LLVM back-ends and Rust compiler.

The benchmark results shared in the paper found that their LLVM offload implementation with Rust was generally competitive to native AMD HIP and NVIDIA CUDA solutions for most of the tests -- and winning some, losing others. The researchers are aware of other performance avenues to pursue for closing some of those gaps moving forward around the code generation and other IR differences.

Rust offload benchmarks

Their front-end is considered safe and allows most GPU kernels to avoid using raw pointers.

Those interested in learning more about this LLVM offload work in Rust can see the paper on arxiv.org.

The upstream tracking for Rust offload support can be found via this Rust-Lang ticket.

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1Rust For Linux 7.3 Begins Seeing Fixes To Prepare For Rust's GCC Backend08.6518-08-2026
2AMD Working On A New Backend For Improving ROCm Compute In QEMU/VMs08.4917-08-2026
3Rusticl OpenCL Driver Improving Hardware Utilization In Mesa 26.20502-07-2026
4Hardware-aware framework accelerates large language models without additional training08.5706-08-2026
5I wrote my M.Sc. thesis on using the Rust type system in 3D graphics0729-06-2026
6LLVM 23.1-rc1 Released With AMD Zen 6 & AVX-512 BMM Support, Other Compiler Enhancements012.9923-07-2026
7[Project Announcement] tinyxml2-rs: A high-performance, drop-in Rust implementation of TinyXML25701-07-2026
8Как понять, что делает Rust-компилятор: визуализация AST, MIR и LLVM IR010.815-07-2026
9Rusticl Now Supports cl_ext_float_atomics011.2311-08-2026
10LLVM Clang Merges Initial Support For NVIDIA Rigel Core With Next-Gen Rosa CPU0710-07-2026

Классификация: Наука. Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 6.69. Источник: www.phoronix.com.