pub struct AvarokDevice {
pub ctx: Arc<CudaContext>,
pub ordinal: usize,
}Expand description
Wrapper around a cudarc CudaContext with SM121-specific configuration.
Fields§
§ctx: Arc<CudaContext>§ordinal: usizeImplementations§
Trait Implementations§
Source§impl Clone for AvarokDevice
impl Clone for AvarokDevice
Source§fn clone(&self) -> AvarokDevice
fn clone(&self) -> AvarokDevice
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 moreAuto Trait Implementations§
impl Freeze for AvarokDevice
impl RefUnwindSafe for AvarokDevice
impl Send for AvarokDevice
impl Sync for AvarokDevice
impl Unpin for AvarokDevice
impl UnwindSafe for AvarokDevice
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