rocmrc 0.4.0

Minimal safe ROCm bindings (HIP, hipRTC), modeled after cudarc
Documentation
//! Safe abstractions over [`crate::hip::result`] — `HipSlice`, `HipContext`,
//! `HipStream`, and the surrounding type machinery. Layout mirrors
//! `cudarc::driver::safe`.

pub(crate) mod core;
pub(crate) mod external_memory;
pub(crate) mod graph;
pub(crate) mod launch;
pub(crate) mod profile;
pub(crate) mod unified_memory;

pub use self::core::{
    DevicePtr, DevicePtrMut, DeviceRepr, DeviceSlice, EventWaitFlags, HipContext, HipEvent,
    HipFunction, HipModule, HipSlice, HipStream, HipView, HipViewMut, HostSlice, PinnedHostSlice,
    SyncOnDrop, ValidAsZeroBits,
};
pub use self::external_memory::{ExternalMemory, MappedBuffer};
pub use self::graph::HipGraph;
pub use self::launch::{LaunchArgs, LaunchConfig, PushKernelArg};
pub use self::profile::{Profiler, profiler_start, profiler_stop};
pub use self::unified_memory::{
    HipUnifiedSlice, HipUnifiedView, HipUnifiedViewMut, MemAttachFlags,
};
pub use crate::hip::result::HipError;
pub use crate::hip::result::stream::StreamKind;