pub struct ComputeRocmLib { /* private fields */ }Expand description
Loadable library that registers a ROCm compute site when runtime validation succeeds.
Implementations§
Source§impl ComputeRocmLib
impl ComputeRocmLib
Sourcepub fn from_probe_port(port: &dyn RocmProbePort) -> Result<Self, RocmLoadError>
pub fn from_probe_port(port: &dyn RocmProbePort) -> Result<Self, RocmLoadError>
Builds a provider from an explicit capsule probe port.
Sourcepub fn from_probe(probe: RocmRuntimeProbe) -> Self
pub fn from_probe(probe: RocmRuntimeProbe) -> Self
Builds a provider from precomputed probe evidence.
Sourcepub fn probe_evidence(&self) -> Option<&RocmRuntimeProbe>
pub fn probe_evidence(&self) -> Option<&RocmRuntimeProbe>
Returns ROCm runtime probe evidence.
Trait Implementations§
Source§impl Clone for ComputeRocmLib
impl Clone for ComputeRocmLib
Source§fn clone(&self) -> ComputeRocmLib
fn clone(&self) -> ComputeRocmLib
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ComputeRocmLib
impl Debug for ComputeRocmLib
Source§impl Default for ComputeRocmLib
impl Default for ComputeRocmLib
Source§fn default() -> ComputeRocmLib
fn default() -> ComputeRocmLib
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ComputeRocmLib
impl RefUnwindSafe for ComputeRocmLib
impl Send for ComputeRocmLib
impl Sync for ComputeRocmLib
impl Unpin for ComputeRocmLib
impl UnsafeUnpin for ComputeRocmLib
impl UnwindSafe for ComputeRocmLib
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