1 unstable release

0.1.1 Jul 25, 2023

#792 in Machine learning

Download history 17/week @ 2024-03-11 4/week @ 2024-03-18 6/week @ 2024-03-25 40/week @ 2024-04-01 14/week @ 2024-04-08 14/week @ 2024-04-15 16/week @ 2024-04-22 10/week @ 2024-04-29 3/week @ 2024-05-06 135/week @ 2024-05-13 59/week @ 2024-05-20 13/week @ 2024-06-03 22/week @ 2024-06-10 158/week @ 2024-06-17 23/week @ 2024-06-24

216 downloads per month
Used in 2 crates

MIT/Apache

1MB
19K 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