pub struct EpistemicGpuProviderIdentity {
pub device_ordinal: usize,
pub device_ptr: usize,
pub memory_ptr: usize,
}Expand description
CUDA provider identity that produced an epistemic GPU execution result.
Fields§
§device_ordinal: usizeCUDA device ordinal used by the executor.
device_ptr: usizeStable address of the executor’s CUDA device wrapper.
memory_ptr: usizeStable address of the executor’s GPU memory manager.
Implementations§
Source§impl EpistemicGpuProviderIdentity
impl EpistemicGpuProviderIdentity
Sourcepub fn from_provider(provider: &CudaKernelProvider) -> Self
pub fn from_provider(provider: &CudaKernelProvider) -> Self
Capture the device and memory-manager identity for a CUDA provider.
Trait Implementations§
Source§impl Clone for EpistemicGpuProviderIdentity
impl Clone for EpistemicGpuProviderIdentity
Source§fn clone(&self) -> EpistemicGpuProviderIdentity
fn clone(&self) -> EpistemicGpuProviderIdentity
Returns a duplicate of the value. Read more
1.0.0 · 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 EpistemicGpuProviderIdentity
impl Debug for EpistemicGpuProviderIdentity
Source§impl PartialEq for EpistemicGpuProviderIdentity
impl PartialEq for EpistemicGpuProviderIdentity
Source§fn eq(&self, other: &EpistemicGpuProviderIdentity) -> bool
fn eq(&self, other: &EpistemicGpuProviderIdentity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EpistemicGpuProviderIdentity
impl Eq for EpistemicGpuProviderIdentity
impl StructuralPartialEq for EpistemicGpuProviderIdentity
Auto Trait Implementations§
impl Freeze for EpistemicGpuProviderIdentity
impl RefUnwindSafe for EpistemicGpuProviderIdentity
impl Send for EpistemicGpuProviderIdentity
impl Sync for EpistemicGpuProviderIdentity
impl Unpin for EpistemicGpuProviderIdentity
impl UnsafeUnpin for EpistemicGpuProviderIdentity
impl UnwindSafe for EpistemicGpuProviderIdentity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more