#amd-gpu #gpu #accelerator #ffi

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

#11 in #accelerator

22 downloads per month
Used in rustframes

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
~155K SLoC