#gpu #hip #ffi #amd #accelerator

hip-rs

A Rust wrapper for AMD's Heterogeneous-computing Interface for Portability (HIP), used for GPU interop

6 releases (1 stable)

1.0.0 Dec 31, 2024
0.3.0 Dec 25, 2024
0.2.1 Dec 9, 2024
0.1.1 Dec 2, 2024
0.1.0 Oct 30, 2024

#8 in #hip

Download history 1/week @ 2024-12-18 256/week @ 2024-12-25 50/week @ 2025-01-01 1/week @ 2025-01-08 1/week @ 2025-02-12

412 downloads per month

MIT/Apache

88KB
2K SLoC

hip-rs

codecov

Caution

hip-rs is not to be used for anything else that hobby projects.

A rust wrapper for HIP.

The Heterogeneous-computing Interface for Portability (HIP) API is a C++ runtime API and kernel language that lets developers create portable applications running in heterogeneous systems, using CPUs and AMD GPUs or NVIDIA GPUs from a single source code. HIP provides a simple marshalling language to access either the AMD ROCM back-end, or NVIDIA CUDA back-end, to build and run application kernels. — the HIP documentation

Dependencies

~6–8.5MB
~158K SLoC