Skip to main content

Crate rocmrc

Crate rocmrc 

Source
Expand description

Minimal safe HIP/ROCm bindings, modeled after cudarc.

Surface intentionally small: only what luminal_rocm_lite needs to host a kernel-launch-based runtime. Grow this crate by following cudarc’s API shape so call sites in luminal stay near-identical.

Re-exports§

pub use driver::DevicePtr;
pub use driver::DriverError;
pub use driver::HipContext;
pub use driver::HipFunction;
pub use driver::HipModule;
pub use driver::HipSlice;
pub use driver::HipStream;
pub use hiprtc::HiprtcError;
pub use hiprtc::Hsaco;

Modules§

driver
Safe wrappers over the HIP driver/runtime API.
hiprtc
hipRTC: runtime compilation of HIP C++ source into hsaco code objects.