hip-sys

Crates.iohip-sys
lib.rship-sys
version0.1.1
sourcesrc
created_at2023-07-25 03:46:44.438462
updated_at2023-07-25 03:46:44.438462
descriptionBindings for HIP
homepage
repositoryhttps://github.com/cjordan/hip-sys
max_upload_size
id925143
size16,644
Christopher H. Jordan (cjordan)

documentation

README

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).

Commit count: 14

cargo fmt