pub struct RocmLibrarySet { /* private fields */ }Expand description
Loaded ROCm runtime libraries kept alive for function-pointer validity.
Implementations§
Source§impl RocmLibrarySet
impl RocmLibrarySet
Sourcepub fn new(
evidence: RocmAbiEvidence,
hip: Library,
rocblas: Library,
rocblaslt: Option<Library>,
) -> Self
pub fn new( evidence: RocmAbiEvidence, hip: Library, rocblas: Library, rocblaslt: Option<Library>, ) -> Self
Joins capsule-loaded libraries to their validated ABI evidence.
Sourcepub fn evidence(&self) -> &RocmAbiEvidence
pub fn evidence(&self) -> &RocmAbiEvidence
Returns checked ABI evidence.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RocmLibrarySet
impl RefUnwindSafe for RocmLibrarySet
impl Send for RocmLibrarySet
impl Sync for RocmLibrarySet
impl Unpin for RocmLibrarySet
impl UnsafeUnpin for RocmLibrarySet
impl UnwindSafe for RocmLibrarySet
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more