1 unstable release

0.1.0 Jul 25, 2023

#1156 in Hardware support

Download history 71/week @ 2024-01-08 149/week @ 2024-01-15 23/week @ 2024-01-22 4/week @ 2024-01-29 4/week @ 2024-02-12 8/week @ 2024-02-19 24/week @ 2024-02-26 18/week @ 2024-03-04 19/week @ 2024-03-11 7/week @ 2024-03-18 12/week @ 2024-03-25 47/week @ 2024-04-01 15/week @ 2024-04-08 18/week @ 2024-04-15 21/week @ 2024-04-22

103 downloads per month
Used in 3 crates (via hip-sys)

MIT/Apache

595KB
13K SLoC

hip-sys

Rust bindings for HIP

Dependencies

  • A ROCm platform ie a compatible AMD GPU
    • hipblas can be accessed with the blas feature
    • Specify the path to hip with HIP_PATH. If not provided, /opt/rocm/hip is assumed
    • Specify the path to hipblas with HIP_BLAS_PATH. If not provided, /opt/rocm/hipblas is assumed
    • Native bindings can be generated with the bindgen feature
    • Will compile without an AMD GPU, but device functions will fail
    • Currently CUDA platform support is not available (see cuda-sys https://github.com/rust-cuda/cuda-sys)

Install ROCm

If you have any problems please post an issue.

Tests

Run the tests with:

cargo test

Docs

Open the documentation with:

cargo doc --open

Acknowledgement

This repo is derived from one created here; permission has been gained to publish this work with local modifications (see issue #1).

Dependencies

~165KB