1 unstable release

0.1.1 Jul 25, 2023

#1041 in Machine learning

Download history 19/week @ 2024-10-29 19/week @ 2024-11-05 310/week @ 2024-11-12 36/week @ 2024-11-19 27/week @ 2024-11-26 2/week @ 2024-12-03 22/week @ 2024-12-10 4/week @ 2024-12-17 7/week @ 2025-01-07 9/week @ 2025-01-14 94/week @ 2025-01-21 171/week @ 2025-01-28 174/week @ 2025-02-04 13/week @ 2025-02-11

454 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